+ChangeNotifier Fixes
+Signout Fixes +
This commit is contained in:
+21
-20
@@ -65,27 +65,28 @@ class _HomePageState extends State<HomePage>
|
||||
_deviceWidth = MediaQuery.of(context).size.width;
|
||||
|
||||
return Scaffold(
|
||||
// backgroundColor: Theme.of(context).scaffoldBackgroundColor,
|
||||
appBar: AppBar(
|
||||
automaticallyImplyLeading: false,
|
||||
// backgroundColor: Theme.of(context).scaffoldBackgroundColor,
|
||||
title: Text("the messenger"),
|
||||
titleTextStyle: TextStyle(fontSize: 16),
|
||||
bottom: TabBar(
|
||||
unselectedLabelColor: Colors.grey,
|
||||
indicatorColor: Colors.blue,
|
||||
labelColor: Colors.blue,
|
||||
controller: _tabController,
|
||||
tabs: _iconTabs,
|
||||
),
|
||||
// backgroundColor: Theme.of(context).scaffoldBackgroundColor,
|
||||
appBar: AppBar(
|
||||
automaticallyImplyLeading: false,
|
||||
// backgroundColor: Theme.of(context).scaffoldBackgroundColor,
|
||||
title: Text("the messenger"),
|
||||
titleTextStyle: TextStyle(fontSize: 16),
|
||||
bottom: TabBar(
|
||||
unselectedLabelColor: Colors.grey,
|
||||
indicatorColor: Colors.blue,
|
||||
labelColor: Colors.blue,
|
||||
controller: _tabController,
|
||||
tabs: _iconTabs,
|
||||
),
|
||||
body: _tabBarPages(),
|
||||
floatingActionButton: _tabController.index == 1
|
||||
? Container()
|
||||
: FloatingActionButton(
|
||||
child: Icon(Icons.add),
|
||||
onPressed: () {},
|
||||
));
|
||||
),
|
||||
body: _tabBarPages(),
|
||||
// floatingActionButton: _tabController.index == 1
|
||||
// ? Container()
|
||||
// : FloatingActionButton(
|
||||
// child: Icon(Icons.add),
|
||||
// onPressed: () {},
|
||||
// ),
|
||||
);
|
||||
}
|
||||
|
||||
Widget _tabBarPages() {
|
||||
|
||||
Reference in New Issue
Block a user