App Bar Variants

Loading preview

Starting the Flutter app

A Flutter gallery of app bar variants — with search, actions, gradients, and a bottom tab bar.

Get the source

Add it to your project

Copies the Dart source into your app, so you own it. Flutter SDK only, no extra packages.

First time? Run dart pub global activate fluttertemplates_dev, or read the CLI guide.

How it works

A style gallery rather than working bars: none of the four samples is an AppBar. Each is a Container holding a Row of plain Icons and Text, so nothing responds to taps. _bar supplies the shared 64px surface, _label the section captions, and _tab fakes a tab strip with a colored bottom border. The search field is static too.

Adapting it

  • Move the layout you like into a real AppBar, turning each Icon into an IconButton.
  • For the gradient look, set flexibleSpace on AppBar to the LinearGradient container.
  • Replace _tab with TabBar when you need working tabs.