0 purchases
collapsible app bar
CollapsibleAppBar #
A widget that has a collapsible app bar.
Click to view Screenshots
Expanded
Collapsed
Getting started #
Add dependency in your pubspec.yaml:
dependencies:
collapsible_app_bar: ^0.1.4
copied to clipboard
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')),
)
copied to clipboard
For more detail, please go check the example.
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.