add paginator
This commit is contained in:
@@ -27,9 +27,9 @@ class BoxRow extends StatelessWidget {
|
||||
Padding(
|
||||
padding: const EdgeInsets.only(left: 8.0),
|
||||
child: new Text(
|
||||
box.shippingAddress.fullName == null
|
||||
box.deliveryAddress.fullName == null
|
||||
? ''
|
||||
: box.shippingAddress.fullName,
|
||||
: box.deliveryAddress.fullName,
|
||||
style: new TextStyle(
|
||||
fontSize: 15.0,
|
||||
color: Colors.black,
|
||||
@@ -39,9 +39,9 @@ class BoxRow extends StatelessWidget {
|
||||
Padding(
|
||||
padding: const EdgeInsets.only(left: 8.0),
|
||||
child: new Text(
|
||||
box.shippingAddress.addressLine1 == null
|
||||
box.deliveryAddress.addressLine1 == null
|
||||
? ''
|
||||
: box.shippingAddress.addressLine1,
|
||||
: box.deliveryAddress.addressLine1,
|
||||
style: new TextStyle(
|
||||
fontSize: 14.0, color: Colors.grey),
|
||||
),
|
||||
@@ -49,9 +49,9 @@ class BoxRow extends StatelessWidget {
|
||||
Padding(
|
||||
padding: const EdgeInsets.only(left: 8.0),
|
||||
child: new Text(
|
||||
box.shippingAddress.addressLine2 == null
|
||||
box.deliveryAddress.addressLine2 == null
|
||||
? ''
|
||||
: box.shippingAddress.addressLine2,
|
||||
: box.deliveryAddress.addressLine2,
|
||||
style: new TextStyle(
|
||||
fontSize: 14.0, color: Colors.grey),
|
||||
),
|
||||
@@ -59,9 +59,9 @@ class BoxRow extends StatelessWidget {
|
||||
Padding(
|
||||
padding: const EdgeInsets.only(left: 8.0),
|
||||
child: new Text(
|
||||
box.shippingAddress.city == null
|
||||
box.deliveryAddress.city == null
|
||||
? ''
|
||||
: box.shippingAddress.city,
|
||||
: box.deliveryAddress.city,
|
||||
style: new TextStyle(
|
||||
fontSize: 14.0, color: Colors.grey),
|
||||
),
|
||||
@@ -69,9 +69,9 @@ class BoxRow extends StatelessWidget {
|
||||
Padding(
|
||||
padding: const EdgeInsets.only(left: 8.0),
|
||||
child: new Text(
|
||||
box.shippingAddress.state == null
|
||||
box.deliveryAddress.state == null
|
||||
? ''
|
||||
: box.shippingAddress.state,
|
||||
: box.deliveryAddress.state,
|
||||
style: new TextStyle(
|
||||
fontSize: 14.0, color: Colors.grey),
|
||||
),
|
||||
@@ -79,9 +79,9 @@ class BoxRow extends StatelessWidget {
|
||||
Padding(
|
||||
padding: const EdgeInsets.only(left: 8.0),
|
||||
child: new Text(
|
||||
box.shippingAddress.phoneNumber == null
|
||||
box.deliveryAddress.phoneNumber == null
|
||||
? ''
|
||||
: "Phone:${box.shippingAddress.phoneNumber}",
|
||||
: "Phone:${box.deliveryAddress.phoneNumber}",
|
||||
style: new TextStyle(
|
||||
fontSize: 14.0, color: Colors.grey),
|
||||
),
|
||||
@@ -99,25 +99,14 @@ class BoxRow extends StatelessWidget {
|
||||
Padding(
|
||||
padding: const EdgeInsets.only(left: 8.0),
|
||||
child: new Text(
|
||||
"L${box.length}xW${box.weight}xH${box.height}",
|
||||
"L${box.length}xW${box.width}xH${box.height}",
|
||||
style: new TextStyle(fontSize: 15.0, color: Colors.black),
|
||||
),
|
||||
),
|
||||
Padding(
|
||||
padding: const EdgeInsets.only(left: 8.0),
|
||||
child: new Text(
|
||||
box.weight == null
|
||||
? ''
|
||||
: "Actual Weight:${box.weight.toString()}lb",
|
||||
style: new TextStyle(fontSize: 14.0, color: Colors.grey),
|
||||
),
|
||||
),
|
||||
Padding(
|
||||
padding: const EdgeInsets.only(left: 8.0),
|
||||
child: new Text(
|
||||
box.shipmentWeight == null
|
||||
? ''
|
||||
: "Shipment Weight:${box.shipmentWeight.toString()}lb",
|
||||
"Actual Weight:${box.actualWeight.toString()}lb",
|
||||
style: new TextStyle(fontSize: 14.0, color: Colors.grey),
|
||||
),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user