ExpandableBottomAppBar
Animatable bottom app bar with expandable sheet.
Getting Started
Add the plugin:
Basic Usage
Adding the widget
Customization (Optional)
BottomExpandableAppBar
horizontalMargin - distance of sheet's sides from edge
bottomOffset - distance of top sheet's edge from top appbar's edge in closed state
shape - notch shape for FAB
appBarHeight - if you need change app bar height
bottomOffset - distance of top sheet's edge from top appbar's edge in closed state
shape - notch shape for FAB
appBarHeight - if you need change app bar height
bottomAppBarColor - background color of appbar container
or
appBarDecoration - decoration of appbar container
or
appBarDecoration - decoration of appbar container
expandedBackColor - background color of sheet container
or
expandedDecoration - decoration of sheet container
or
expandedDecoration - decoration of sheet container
Controls
BottomAppBarController
settings
snap - if true sheet will snap to opened and closed state
dragLength - distance that pointer should travel for fully open/close the sheet
dragLength - distance that pointer should travel for fully open/close the sheet
callbacks
Should have dragLength defined
onDrag - use that with GestureDetector for swipe control.
onDragEnd - use that with GestureDetector for swipe control.
onDrag - use that with GestureDetector for swipe control.
onDragEnd - use that with GestureDetector for swipe control.
open - switch the sheet to closed state.
close - switch the sheet to opened state.
swap - if sheet is opened closes the sheet and vice versa.
close - switch the sheet to opened state.
swap - if sheet is opened closes the sheet and vice versa.