An app bar consists of a toolbar and potentially other widgets, such as a TabBar and a FlexibleSpaceBar. App bars typically expose one or more common actions with IconButtons which are optionally followed by a PopupMenuButton for less common operations (sometimes called the "overflow menu").
App bars are typically used in the Scaffold.appBar property, which places the app bar as a fixed-height widget at the top of the screen. For a scrollable app bar, see SliverAppBar, which embeds an AppBar in a sliver for use in a CustomScrollView.
When not used as Scaffold.appBar, or when wrapped in a Hero, place the app bar in a MediaQuery to take care of the padding around the content of the app bar if needed, as the padding will not be handled by Scaffold.
https://flutter.dev/web
https://api.flutter.dev/flutter/mater...
#FlutterWeb #FlutterDev #slate_and_chalk
Credits:
The cookbook contains recipes that demonstrate how to solve common problems while writing Flutter apps.
Music Credits:
Zdarmania by Niwel / niwel-516897768
Creative Commons — Attribution-ShareAlike 3.0 Unported — CC BY-SA 3.0
Free Download / Stream: https://bit.ly/zdarmania
Music promoted by Audio Library • Zdarmania – Niwel (No Copyright Music)