- Replace deprecated usage of
bottomAppBarColor
- Fix back gesture for iOS when bottom-sheet is collapsed
- Remove
WillPopScope
- Add
willPopScope
andbackButtonListener
properties to support handling back-gestures in multiple scenarios
- Replace
BackButtonListener
withWillPopScope
- Wrap expanded-sheet widget with a
RepaintBoundary
- Prevent pan-gesture and fling from hiding the
collapsed
widget entirely
- Added
BackButtonListener
to collapse bottom-sheet when using the device's 'Back' button
- Fix shadows and layering with
SafeArea
- Wrap
SafeArea
withcolor
to match bar color
- Added new parameter to adjust fling velocity:
velocityMin
- When collapsing, check
ScrollController.hasClients
before resetting scroll position
- Update
measure_size
pacakge version
- Fix box-shadows appearing above bar color
color
defaults toTheme.of(context).bottomAppBarColor
- The default is still
Colors.white
- The default is still
- Reduce number of
build
calls in widget tree
- Set Flutter SDK constraint
- Updated for Flutter 3
- Widget accomodates for safe-area spaces (bottom-notch, etc.)
- Swiping to open/close works more consistently
- Made isCollapsed and isExpanded reliable
- Inkwell animations appear on the BottomSheetBar background
- Add optional box-shadows to BottomSheetBar widget
- Migrated to null safety
- No longer using deprecated
VelocityTracker
constructor - Bottom of body is no longer obscured when a bottom-safe-area is present
- Optional property
borderRadiusExpanded
to animate and display a different border-radius in the expanded state
- Moved
MeasureSize
widget to https://pub.dev/packages/measure_size
- Body widget gets placed in a full-size container
- (side-effect) Body widgets are aligned to the top of parent container rather than aligned above the bottom-sheet
- Content overflowing bottom sheet now scrollable with scroll gestures other than touch (mousewheel, trackpad, etc.)
- Dart docstrings added to public API
- README updated
- Longer package description
- VelocityTracker uses the deprecated constructor for compatibility with Flutter stable channel
- Initial release