update rate
This commit is contained in:
@@ -8,6 +8,8 @@ import 'package:fcs/pages/package_search/package_serach.dart';
|
||||
import 'package:fcs/pages/shipment/shipment_list.dart';
|
||||
import 'package:fcs/pages/user_search/user_serach.dart';
|
||||
import 'package:fcs/pages/widgets/bottom_up_page_route.dart';
|
||||
import 'package:fcs/pages/widgets/local_popup_menu_button.dart';
|
||||
import 'package:fcs/pages/widgets/local_popupmenu.dart';
|
||||
import 'package:fcs/pages/widgets/local_text.dart';
|
||||
import 'package:fcs/pages/widgets/progress.dart';
|
||||
import 'package:flutter/cupertino.dart';
|
||||
@@ -40,6 +42,17 @@ class _InvoiceListState extends State<InvoiceList> {
|
||||
var owner = true;
|
||||
var invoiceModel = Provider.of<InvoiceModel>(context);
|
||||
|
||||
final popupMenu = LocalPopupMenuButton(
|
||||
popmenus: [
|
||||
LocalPopupMenu(
|
||||
id: 1, textKey: "invoice.popupmenu.pending", selected: true),
|
||||
LocalPopupMenu(id: 2, textKey: "invoice.popupmenu.paid")
|
||||
],
|
||||
popupMenuCallback: (p) => this.setState(() {
|
||||
// _showDelivered = p.id == 2;
|
||||
}),
|
||||
);
|
||||
|
||||
return LocalProgress(
|
||||
inAsyncCall: _isLoading,
|
||||
child: DefaultTabController(
|
||||
@@ -58,6 +71,7 @@ class _InvoiceListState extends State<InvoiceList> {
|
||||
IconButton(
|
||||
icon: Icon(Icons.search, color: Colors.white),
|
||||
onPressed: () {}),
|
||||
popupMenu
|
||||
],
|
||||
),
|
||||
floatingActionButton: owner
|
||||
|
||||
Reference in New Issue
Block a user