fixed issue

merge-update-with-lab-changes
Fatimah Alshammari 4 years ago
parent e3adbe4199
commit 3bfca80ab9

@ -51,6 +51,8 @@ class _OrderPageState extends State<OrderPage>
_tabController = new TabController( _tabController = new TabController(
length: 4, length: 4,
vsync: this, vsync: this,
// initialIndex: 1
); );
} }
@ -379,6 +381,7 @@ class _OrderPageState extends State<OrderPage>
processingOrderList.add(model.orders[i]); processingOrderList.add(model.orders[i]);
} }
} }
_tabController.index = 1;
return Container( return Container(
width: MediaQuery.of(context).size.width, width: MediaQuery.of(context).size.width,
child: processingOrderList.length != 0 child: processingOrderList.length != 0

Loading…
Cancel
Save