|
|
|
@ -418,18 +418,7 @@ class _HomePageState extends State<HomePage> {
|
|
|
|
|
), |
|
|
|
|
), |
|
|
|
|
); |
|
|
|
|
|
|
|
|
|
return Row( |
|
|
|
|
children: [ |
|
|
|
|
if (navigationMode == NavigationMode.drawerAlwaysVisible) ...[ |
|
|
|
|
drawer, |
|
|
|
|
], |
|
|
|
|
Expanded( |
|
|
|
|
child: Scaffold( |
|
|
|
|
key: _scaffoldKey, |
|
|
|
|
resizeToAvoidBottomInset: false, |
|
|
|
|
drawer: navigationMode == NavigationMode.drawer ? drawer : null, |
|
|
|
|
appBar: AppBar( |
|
|
|
|
final appBar = AppBar( |
|
|
|
|
scrolledUnderElevation: navigationMode != NavigationMode.drawer ? 0 : null, |
|
|
|
|
automaticallyImplyLeading: navigationMode == NavigationMode.drawer, |
|
|
|
|
leadingWidth: isQuickBar ? kQuickBarWidth : null, |
|
|
|
@ -452,9 +441,7 @@ class _HomePageState extends State<HomePage> {
|
|
|
|
|
if (appImplementations.data != null && activeAppIDSnapshot.hasData) ...[ |
|
|
|
|
Flexible( |
|
|
|
|
child: Text( |
|
|
|
|
appImplementations.data! |
|
|
|
|
.find(activeAppIDSnapshot.data!)! |
|
|
|
|
.name(context), |
|
|
|
|
appImplementations.data!.find(activeAppIDSnapshot.data!)!.name(context), |
|
|
|
|
), |
|
|
|
|
), |
|
|
|
|
], |
|
|
|
@ -529,7 +516,19 @@ class _HomePageState extends State<HomePage> {
|
|
|
|
|
), |
|
|
|
|
), |
|
|
|
|
], |
|
|
|
|
), |
|
|
|
|
); |
|
|
|
|
|
|
|
|
|
return Row( |
|
|
|
|
children: [ |
|
|
|
|
if (navigationMode == NavigationMode.drawerAlwaysVisible) ...[ |
|
|
|
|
drawer, |
|
|
|
|
], |
|
|
|
|
Expanded( |
|
|
|
|
child: Scaffold( |
|
|
|
|
key: _scaffoldKey, |
|
|
|
|
resizeToAvoidBottomInset: false, |
|
|
|
|
drawer: navigationMode == NavigationMode.drawer ? drawer : null, |
|
|
|
|
appBar: appBar, |
|
|
|
|
body: Row( |
|
|
|
|
children: [ |
|
|
|
|
if (navigationMode == NavigationMode.quickBar) ...[ |
|
|
|
|