collapsible_app_bar 0.1.4 copy "collapsible_app_bar: ^0.1.4" to clipboard
collapsible_app_bar: ^0.1.4 copied to clipboard

A widget that has a collapsible app bar.

CollapsibleAppBar #

A widget that has a collapsible app bar.

pub package

Click to view Screenshots
Expanded Collapsed
expanded collapsed

Getting started #

Add dependency in your pubspec.yaml:

dependencies:
  collapsible_app_bar: ^0.1.4

Run flutter pub get to install the package.

Usage #

To use this widget, you need to specify expendedHeight property which is the app bar's height when expanded, and the body widget which can be any widget you want to put under the app bar, it will scroll as the app bar collapse.

CollapsibleAppBar(
  shrinkTitle: 'Page Title',
  expandedHeight: 250,
  body: const Center(child: Text('body')),
)

For more detail, please go check the example.

9
likes
130
pub points
71%
popularity

Publisher

verified publisherajiew.me

A widget that has a collapsible app bar.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on collapsible_app_bar