add paginator
This commit is contained in:
@@ -93,7 +93,7 @@ class _BoxEditorState extends State<BoxEditor> {
|
||||
|
||||
if (widget.box != null) {
|
||||
_box = widget.box;
|
||||
_deliveryAddress = _box.shippingAddress;
|
||||
_deliveryAddress = _box.deliveryAddress;
|
||||
_cargoTypes = _box.cargoTypes;
|
||||
_selectShipmentNumber = _box.shipmentNumber;
|
||||
_widthController.text = _box.width.toString();
|
||||
@@ -397,7 +397,7 @@ class _BoxEditorState extends State<BoxEditor> {
|
||||
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