add paginator

This commit is contained in:
Sai Naw Wun
2020-10-16 10:58:31 +06:30
parent bcbcfd71ee
commit 0abe4ef73f
29 changed files with 953 additions and 703 deletions

View File

@@ -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;