flutter_scroll_to_top 2.3.0
flutter_scroll_to_top: ^2.3.0 copied to clipboard
A package that provides a simple wrapper to wrap your scrollable widgets in, that lets you show a scroll to top prompt to the user when they scroll.
2.3.0 25 October 2022. #
- Make primary bool nullable in modified scrollviews for flutter 3.3.0.
2.2.4 11 June 2022. #
- Bundled modified scrollviews to work around PrimaryScrollController limitations.
2.1.1 22 November 2021. #
- Fixed prompt not hiding on tap.
2.1.0 22 November 2021. #
- Added
scrollOffsetUntilHide
parameter. - Slightly changed default values of parameters.
2.0.1 22 November 2021. #
- 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.
1.2.0 21 November 2021. #
- 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
1.1.0 18 April 2021. #
- Added
promptAnimationType
to specify the kind of animation the prompt shows up with.
1.0.6 17 April 2021. #
- Added
scrollToTopDuration
andscrollToTopCurve
parameters.
1.0.5 17 April 2021. #
- Alignment fix.
1.0.4 17 April 2021. #
- Removed promptTheme assert.
1.0.3 17 April 2021. #
- Updated description.
1.0.0 17 April 2021. #
- Initial Release.