add paginator in boxes and deliveries
This commit is contained in:
@@ -5,6 +5,8 @@ import 'package:flutter/cupertino.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:intl/intl.dart';
|
||||
|
||||
import 'delivery_info.dart';
|
||||
|
||||
class DeliveryListRow extends StatefulWidget {
|
||||
final Box box;
|
||||
const DeliveryListRow({this.box});
|
||||
@@ -32,7 +34,7 @@ class _DeliveryListRowState extends State<DeliveryListRow> {
|
||||
onTap: () {
|
||||
Navigator.push(
|
||||
context,
|
||||
CupertinoPageRoute(builder: (context) => BoxEditor(box: _box)),
|
||||
CupertinoPageRoute(builder: (context) => DeliveryInfo(box: _box)),
|
||||
);
|
||||
},
|
||||
child: Row(
|
||||
@@ -75,7 +77,7 @@ class _DeliveryListRowState extends State<DeliveryListRow> {
|
||||
children: <Widget>[
|
||||
Padding(
|
||||
padding: const EdgeInsets.all(0),
|
||||
child: getStatus(_box.status),
|
||||
child: getStatus(_box.status == null ? "" : _box.status),
|
||||
),
|
||||
Padding(
|
||||
padding: const EdgeInsets.only(left: 8.0, top: 5, bottom: 5),
|
||||
|
||||
Reference in New Issue
Block a user