mirror of
https://git.meshkee.com/applications/cssd.git
synced 2026-10-13 20:28:55 +03:30
Remove request tab from my items and my packages
This commit is contained in:
@@ -42,7 +42,12 @@ class _MyItemsResultScreenState extends State<MyItemsResultScreen>
|
|||||||
child: Scaffold(
|
child: Scaffold(
|
||||||
appBar: AppBar(
|
appBar: AppBar(
|
||||||
titleSpacing: -10,
|
titleSpacing: -10,
|
||||||
title: Text('Home', style: TextStyle(color: Colors.white,),),
|
title: Text(
|
||||||
|
'Home',
|
||||||
|
style: TextStyle(
|
||||||
|
color: Colors.white,
|
||||||
|
),
|
||||||
|
),
|
||||||
backgroundColor: Colors.black,
|
backgroundColor: Colors.black,
|
||||||
leading: IconButton(
|
leading: IconButton(
|
||||||
icon: Icon(
|
icon: Icon(
|
||||||
@@ -52,30 +57,31 @@ class _MyItemsResultScreenState extends State<MyItemsResultScreen>
|
|||||||
),
|
),
|
||||||
onPressed: () => Navigator.of(context).pop(),
|
onPressed: () => Navigator.of(context).pop(),
|
||||||
),
|
),
|
||||||
bottom: TabBar(
|
// bottom: TabBar(
|
||||||
controller: _tabController,
|
// controller: _tabController,
|
||||||
indicatorColor: kBlue,
|
// indicatorColor: kBlue,
|
||||||
labelColor: Colors.white,
|
// labelColor: Colors.white,
|
||||||
tabs: [
|
// tabs: [
|
||||||
Tab(
|
// Tab(
|
||||||
text: 'Mine',
|
// text: 'Mine',
|
||||||
),
|
// ),
|
||||||
Tab(
|
// Tab(
|
||||||
text: 'Requests',
|
// text: 'Requests',
|
||||||
),
|
// ),
|
||||||
],
|
// ],
|
||||||
),
|
// ),
|
||||||
),
|
),
|
||||||
floatingActionButton: MyItemResultFloatingButton(
|
floatingActionButton: MyItemResultFloatingButton(
|
||||||
deviceBlockSize: _deviceBlockSize,
|
deviceBlockSize: _deviceBlockSize,
|
||||||
),
|
),
|
||||||
body: TabBarView(
|
body: MyItemsMineScreen(),
|
||||||
controller: _tabController,
|
// TabBarView(
|
||||||
children: [
|
// controller: _tabController,
|
||||||
MyItemsMineScreen(),
|
// children: [
|
||||||
MyItemsRequestsScreen(),
|
// MyItemsMineScreen(),
|
||||||
],
|
// MyItemsRequestsScreen(),
|
||||||
),
|
// ],
|
||||||
|
// ),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|||||||
@@ -42,7 +42,12 @@ class _MyPackagesResultScreenState extends State<MyPackagesResultScreen>
|
|||||||
child: Scaffold(
|
child: Scaffold(
|
||||||
appBar: AppBar(
|
appBar: AppBar(
|
||||||
titleSpacing: -10,
|
titleSpacing: -10,
|
||||||
title: Text('Home', style: TextStyle(color: Colors.white,),),
|
title: Text(
|
||||||
|
'Home',
|
||||||
|
style: TextStyle(
|
||||||
|
color: Colors.white,
|
||||||
|
),
|
||||||
|
),
|
||||||
backgroundColor: Colors.black,
|
backgroundColor: Colors.black,
|
||||||
leading: IconButton(
|
leading: IconButton(
|
||||||
icon: Icon(
|
icon: Icon(
|
||||||
@@ -52,30 +57,31 @@ class _MyPackagesResultScreenState extends State<MyPackagesResultScreen>
|
|||||||
),
|
),
|
||||||
onPressed: () => Navigator.of(context).pop(),
|
onPressed: () => Navigator.of(context).pop(),
|
||||||
),
|
),
|
||||||
bottom: TabBar(
|
// bottom: TabBar(
|
||||||
controller: _tabController,
|
// controller: _tabController,
|
||||||
indicatorColor: kPurple,
|
// indicatorColor: kPurple,
|
||||||
labelColor: Colors.white,
|
// labelColor: Colors.white,
|
||||||
tabs: [
|
// tabs: [
|
||||||
Tab(
|
// Tab(
|
||||||
text: 'Mine',
|
// text: 'Mine',
|
||||||
),
|
// ),
|
||||||
Tab(
|
// Tab(
|
||||||
text: 'Requests',
|
// text: 'Requests',
|
||||||
),
|
// ),
|
||||||
],
|
// ],
|
||||||
),
|
// ),
|
||||||
),
|
),
|
||||||
floatingActionButton: MyPackageResultFloatingButton(
|
floatingActionButton: MyPackageResultFloatingButton(
|
||||||
deviceBlockSize: _deviceBlockSize,
|
deviceBlockSize: _deviceBlockSize,
|
||||||
),
|
),
|
||||||
body: TabBarView(
|
body: MyPackagesMineScreen(),
|
||||||
controller: _tabController,
|
// TabBarView(
|
||||||
children: [
|
// controller: _tabController,
|
||||||
MyPackagesMineScreen(),
|
// children: [
|
||||||
MyPackagesRequestsScreen(),
|
// MyPackagesMineScreen(),
|
||||||
],
|
// MyPackagesRequestsScreen(),
|
||||||
),
|
// ],
|
||||||
|
// ),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in New Issue
Block a user