animated_toggle_switch 0.8.0-beta.6
animated_toggle_switch: ^0.8.0-beta.6 copied to clipboard
Fully customizable, draggable and animated switch with multiple choices and smooth loading animation. It has prebuilt constructors for rolling and size animations.
0.8.0-beta.5 (2023-08-18) #
- fixes
AnimationType.onHover
0.8.0-beta.4 (2023-08-18) #
- BREAKING: removes
IconTheme
for controlling default size ofIcon
s - BREAKING: changes default background color from
ThemeData.scaffoldBackgroundColor
toThemeData.colorScheme.surface
- BREAKING: renames
dif
tospacing
in all constructors
0.8.0-beta.3 (2023-08-11) #
- BREAKING: replaces
transitionType
withindicatorTransition
inAnimatedToggleSwitch.rolling()
,AnimatedToggleSwitch.rollingByHeight()
andAnimatedToggleSwitch.dual()
- BREAKING: replaces
iconSize
andselectedIconSize
inAnimatedToggleSwitch
constructorsrolling()
,rollingByHeight()
,dual()
: now uses IconTheme for controlling default size ofIcon
ssize()
,sizeByHeight()
: new parameterselectedIconScale
controls scaling
0.8.0-beta.2 (2023-08-01) #
- minor fixes
- updates README
0.8.0-beta.1 (2023-07-31) #
- adds
active
to all constructors - closes #30
- minor improvements
- BREAKING: changes
separatorBuilder
parameters - BREAKING: moves all cursor parameters to
cursors
0.8.0-beta.0 (2023-07-29) #
- adds tests for all
AnimatedToggleSwitch
constructors - adds
separatorBuilder
,customSeparatorBuilder
,style
andstyleAnimationType
toAnimatedToggleSwitch
- adds
separatorBuilder
toCustomAnimatedToggleSwitch
- fixes initial loading
- BREAKING: moves many parameters in
AnimatedToggleSwitch
tostyle
:innerColor
(renamed tobackgroundColor
)innerGradient
(renamed tobackgroundGradient
)borderColor
indicatorColor
borderRadius
indicatorBorderColor
indicatorBorder
indicatorBorder
foregroundBoxShadow
(renamed toindicatorBoxShadow
)boxShadow
- BREAKING: merges
borderColorBuilder
withstyleBuilder
- BREAKING:
indicatorAnimationType
handlesToggleStyle.indicatorColor
,ToggleStyle.indicatorBorderRadius
,ToggleStyle.indicatorBorder
andToggleStyle.indicatorBoxShadow
now
0.7.0 (2023-06-19) #
- adds possibility that no valid value is selected (by setting
allowUnlistedValues
totrue
) - adds new parameters to almost all constructors:
allowUnlistedValues
,indicatorAppearingBuilder
,indicatorAppearingDuration
,indicatorAppearingCurve
0.6.2 (2023-03-09) #
- adds screenshot to pubspec.yaml
0.6.1 (2022-12-22) #
- adds examples for loading animation to README
0.6.0 (2022-12-22) #
- fixes README
- fixes #28
- BREAKING: Increases minimum SDK to 2.17
- BREAKING: Renames
value
tocurrent
andpreviousValue
toprevious
inDetailedGlobalToggleProperties
- BREAKING Feature: Adds loading animation to all switches. You can disable it by setting
loading
to false. - Adds
innerGradient
toAnimatedToggleSwitch
- Adds
transitionType
toAnimatedToggleSwitch.rolling
,AnimatedToggleSwitch.rollingByHeight
andAnimatedToggleSwitch.dual
0.5.2 (2022-04-22) #
- Minor performance improvement
- Minor fixes
- Improves code documentation
- Adds
dragCursor
anddraggingCursor
toCustomAnimatedToggleSwitch
- Adds
iconsTappable
,defaultCursor
,dragCursor
anddraggingCursor
toAnimatedToggleSwitch
0.5.1 (2022-04-21) #
- Fixes #20
0.5.0 (2022-04-20) #
- Minor performance improvement
- Fixes problems with tight constraints
- BREAKING: Changes default values of
animationOffset
andclipAnimation
inAnimatedToggleSwitch.dual
0.4.0 (2022-04-03) #
- Minor fixes and performance improvements
- Adds
indicatorBorderRadius
toAnimatedToggleSwitch
- Adds
animationOffset
,clipAnimation
andopacityAnimation
toAnimatedToggleSwitch.dual
- BREAKING: Sets default values of
animationOffset
,clipAnimation
andopacityAnimation
inAnimatedToggleSwitch.dual
- BREAKING: Renames
foregroundBorder
toindicatorBorder
0.3.1 (2022-03-23) #
- Minor fixes
0.3.0 (2022-03-21) #
- Introduces
CustomAnimatedToggleSwitch
for maximum customizability - Most constructors of
AnimatedToggleSwitch
have a standard and a more customizable parameter for their builders now - Full support of
TextDirection.rtl
- Adds animation when dragging the switch
- Adds
minTouchTargetSize
,dragStartDuration
,dragStartCurve
andtextDirection
toAnimatedToggleSwitch
- BREAKING:
TextDirection
is taken fromBuildContext
by default now!!! - BREAKING: Changes parameters and names of some builders
- BREAKING: Renames
AnimatedToggleSwitch.byHeight
toAnimatedToggleSwitch.customByHeight
- BREAKING: Adds default
textMargin
toAnimatedToggleSwitch.dual
- Fixes #9
0.2.3 (2022-02-28) #
- BREAKING: Removes
indicatorType
- BREAKING: Changes default
innerColor
- Adds
BoxShadow
parameters
0.2.2 (2022-01-27) #
- Minor performance improvements
0.2.2 (2022-01-27) #
- Minor changes/fixes
0.2.1 (2021-10-03) #
- Migrates to Flutter 2.5
- Minor changes/fixes
0.2.0 (2021-05-21) #
- Minor Changes
- Fixes
FittingMode.preventHorizontalOverlapping
- Improves Web support
0.1.3 (2021-03-27) #
- Updates README.md
0.1.2 (2021-03-27) #
- Adds
AnimatedToggleSwitch.dual
- Adds some settings (
AnimationType
)
0.1.1 (2021-03-26) #
- Minor fix
0.1.0 (2021-03-26) #
- Initial release