add paginator
This commit is contained in:
@@ -96,7 +96,7 @@ class _BoxInfoState extends State<BoxInfo> {
|
||||
_lengthController.text = _box.length.toString();
|
||||
|
||||
_cargoTypes = _box.cargoTypes;
|
||||
_deliveryAddress = _box.shippingAddress;
|
||||
_deliveryAddress = _box.deliveryAddress;
|
||||
}
|
||||
|
||||
_calShipmentWeight() {
|
||||
@@ -324,7 +324,7 @@ class _BoxInfoState extends State<BoxInfo> {
|
||||
if (_cargoTypes == null) {
|
||||
return [];
|
||||
}
|
||||
int total = 0;
|
||||
double total = 0;
|
||||
|
||||
var rows = _cargoTypes.asMap().entries.map((c) {
|
||||
total += c.value.weight;
|
||||
|
||||
Reference in New Issue
Block a user