- Make primary bool nullable in modified scrollviews for flutter 3.3.0.
- Bundled modified scrollviews to work around PrimaryScrollController limitations.
- Fixed prompt not hiding on tap.
- Added
scrollOffsetUntilHide
parameter. - Slightly changed default values of parameters.
- BREAKING CHANGE - Replaced
child
parameter withbuilder
. - BREAKING CHANGE - Renamed
promptScrollOffset
toenabledAtOffset
. - Added
scrollDirection
,primary
,reverse
,scrollOffsetUntilVisible
andalwaysVisibleAtOffset
parameters. - Added
onPromptTap
callback. - Made
scrollController
parameter nullable and addedPrimaryScrollController.of(context)
fallback. - Better behaviour for horizontal ScrollViews.
- Changed default behaviour to only show prompt on upwards scroll. Can be disabled by setting
alwaysVisibleAtOffset
to true. - Made
ScrollWrapper
andPromptButtonTheme
constructors const.
- Added elevation to
PromptButtonTheme
- Added
AppBarTheme
's colors as default to the button, so it matches the AppBar - Added a
didUpdateWidget
override, so thePromptButtonTheme
updates on hot reload
- Added
promptAnimationType
to specify the kind of animation the prompt shows up with.
- Added
scrollToTopDuration
andscrollToTopCurve
parameters.
- Alignment fix.
- Removed promptTheme assert.
- Updated description.
- Initial Release.