Issue I’m trying to change the AppBar title depending on which page the user is on – the pages are controlled by a BottomNavigationBar which loads the different classes(pages) The only way i’ve managed to change this is by including
Continue readingTag: appbar
Change AppBar elevation color/mask with keeping elevation = 1
Issue I have application that have one screen with Drawer. Main screen contains following AppBar: AppBar( foregroundColor: Colors.white, backgroundColor: Colors.green, elevation: 0, actions: // actions here ) I want to keep the AppBar because of actions I have here. However,
Continue readingFlutter AppBar Animation bugging in reverse
Issue So, I’m building an app using Flutter, in the home page, I want to have a bigger AppBar, while in others, AppBar goes back to regular size, I managed to achieve the former in a good and smooth animation,
Continue readingIs there a way to avoid using 'null' to show appbar actions with condition in Flutter?
Issue I wonder if there is a way to avoid setting null to actions if i have this state condition: appBar: AppBar( title: provider.appBarTitle, actions: provider.editState == EditState.inactive ? [ IconButton( onPressed: provider.activateEditableState, icon: const Icon(Icons.edit)) ] : null) Solution
Continue readingFlutter: AppBar bottom overlapping AppBar ToolBar
Issue I have created a custom AppBar widget class to share throughout my project. However, when I try to pass in a TabBar for the the bottom property, it tend to overlap or shrink my toolbar size. Here’s the code
Continue readingIs there a way to place the appbar at the bottom in flutter?
Issue Is there a way to dock the appbar at the bottom in flutter? Thanks. Solution AppBar is just a widget like any other. You can place it wherever you want. Even in the bottomNavigationBar field of Scaffold. final appBar
Continue readingFlutter animated SliverAppBar with Animated Positioned Image
Issue I am trying to replicate this animation with my appBar: I know I can use SliverAppBar and simply animate the textSize. But how would I implement the logic for the image? It moves to the right and slightly shrinks.
Continue readingHow to increase on the size of the leading icon off an AppBar flutter
Issue I am looking for a way of increasing the size of Appbar leading Icon. Below is my code : appBar: PreferredSize( preferredSize: Size.fromHeight(120.0), child: AppBar( leading: SizedBox( width: 200, height: 200, child: IconButton( padding: new EdgeInsets.all(0.0), icon: Image.asset(‘assets/app_logo.png’, height:
Continue readingappbar overlaps notification bar when bottom navigation bar is present
Issue When I navigate to the pages through the bottom navigation, the pages appbar gets overlayed by the phones notification bar. Page with bottom-navigation: Same page without bottom navigation: ***I need my app-bar to look like the second picture with
Continue readingFlutter AppBar, how to customize
Issue I’m new using Flutter and and I’m having trouble understanding how the AppBar works. I would like to get a result similar to this my main problem is how to add a box, similar to the orange one in
Continue reading