action_slider 0.8.0-beta.3 action_slider: ^0.8.0-beta.3 copied to clipboard
A fully customizable slider to confirm actions and provide feedback on the success. It supports different states like loading, success and failure to provide feedback to the user.
0.8.0-beta.3 #
- adds
childPosition
toActionSlider.standard
- adds
childAnimation
parameter toActionSlider.standard
andActionSlider.dual
- migrates from
SliderMode
toSliderStatus
- adds
status
to all constructors - adds
expanded
,highlighted
andside
parameters toSliderMode.loading
,SliderMode.success
andSliderMode.failure
- BREAKING: renames
customForegroundBuilder
tocustomIconBuilder
- BREAKING: changes default background color from
ThemeData.cardColor
toThemeData.colorScheme.surface
- BREAKING: removes
rolling
in favor of the newiconAnimation
parameter - BREAKING: renames
SlidingState
toSlidingStatus
- BREAKING: moves parameters in
ActionSlider.standard
andActionSlider.dual
tostyle
:backgroundColor
backgroundBorderRadius
(renamed toborderRadius
)toggleColor
boxShadow
- adds option to add
SliderStyle
toextensions
ofThemeData
0.8.0-beta.2 [2024-07-31] #
- fixes
rolling
withActionSlider.dual
and when using a customSliderMode
- BREAKING: removes
ActionSliderController.dual
- BREAKING: moves
anchorPosition
andallowedInterval
fromActionSliderControllerState
toActionSlider
0.8.0-beta.1 [2024-07-31] #
- fixes
SliderBehavior.stretch
withActionSlider.dual
- BREAKING: default loading icon is now adaptive for iOS and macOS
0.8.0-beta.0 [2024-07-30] #
- BREAKING: increases minimum SDK to 3.0.0
- BREAKING: renames
movementCurve
toanchorPositionCurve
- BREAKING: renames
movementDuration
toanchorPositionDuration
- BREAKING: renames
SliderDirection.begin
toSliderDirection.start
- adds
resultToggleMargin
,toggleMarginCurve
andtoggleMarginDuration
- adds
SliderMode.loadingExpanded
,SliderMode.successExpanded
andSliderMode.failureExpanded
0.7.0 [2023-07-30] #
- BREAKING: increases minimum SDK to 2.17
- BREAKING: changes default background color from
ThemeData.backgroundColor
toThemeData.cardColor
- BREAKING: changes state type of
ActionSliderController
fromSliderMode
toActionSliderControllerState
- adds
anchorPosition
andallowedInterval
toActionSliderController
- adds
anchorPosition
andallowedInterval
toSliderState
- adds
ActionSliderController.dual
- closes #6
0.6.1 [2022-12-09] #
- adds support for
RTL
- adds
direction
to constructors
0.6.0 [2022-07-05] #
- minor fixes
- fixes #1
- BREAKING: renames
onSlide
toaction
inActionSlider.standard
0.5.0 [2022-03-17] #
- adds
stateChangeCallback
,actionThreshold
andactionThresholdType
- BREAKING: renames
onSlide
toaction
- BREAKING: renames
SlideCallback
toAction
0.4.0 [2022-03-17] #
- major customizability improvements
- adds
outerBackgroundBuilder
andouterBackgroundChild
to constructorActionSlider.custom
- adds
crossFadeDuration
,customBackgroundBuilder
,customBackgroundBuilderChild
,customOuterBackgroundBuilder
andcustomOuterBackgroundBuilderChild
to constructorActionSlider.standard
- BREAKING: renames
SlidingState.loading
toSlidingState.compact
- BREAKING: renames
CrossFade
toSliderCrossFade
- BREAKING change for constructor
ActionSlider.standard
:- removes
circleRadius
and addsborderWidth
instead
- removes
- BREAKING change for constructor
ActionSlider.custom
:- removes
toggleHeight
and addstoggleMargin
instead
- removes
0.3.0 [2022-03-12] #
- adds
onTap
parameter - adds jump method to
ActionSliderController
- minor gesture detection improvements
0.2.1 [2022-02-28] #
- changes README.md
0.2.0 [2022-02-28] #
- BREAKING: changes parameters of
ForegroundBuilder
andBackgroundBuilder
- adds
SliderBehaviour.stretch
0.1.2 [2022-02-25] #
- BREAKING: changes parameters of
SlideCallback
- optimizes fade animation
0.1.1 [2022-02-21] #
- fixes README.md
0.1.0 [2022-02-21] #
- initial release