diff --git a/lib/pages/main/main.page.dart b/lib/pages/main/main.page.dart index a9d8075..1ac70f5 100644 --- a/lib/pages/main/main.page.dart +++ b/lib/pages/main/main.page.dart @@ -576,6 +576,7 @@ class _MainPageState extends State with WidgetsBindingObserver, Ticker SliverAppBar( floating: true, pinned: true, + snap: false, primary: true, title: Text(HomeAssistant().locationName ?? ""), actions: [ @@ -623,6 +624,31 @@ class _MainPageState extends State with WidgetsBindingObserver, Ticker _scaffoldKey.currentState.openDrawer(); }, ), + expandedHeight: 130, + flexibleSpace: FlexibleSpaceBar( + title: Padding( + padding: EdgeInsets.only(bottom: 15), + child: Row( + mainAxisSize: MainAxisSize.min, + children: [ + IconButton( + icon: Icon(Icons.add), + color: Colors.white, + onPressed: () { + Logger.d('First'); + }, + ), + IconButton( + icon: Icon(Icons.add), + color: Colors.white, + onPressed: () { + Logger.d('First'); + }, + ) + ], + ) ), + centerTitle: true, + ), bottom: empty ? null : TabBar( controller: _viewsTabController, tabs: buildUIViewTabs(),