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