Releases: splashbyte/animated_toggle_switch
Releases · splashbyte/animated_toggle_switch
v0.8.3
v0.8.2
v0.8.1
v0.8.0
- adds tests for all
AnimatedToggleSwitch
constructors - adds
separatorBuilder
,customSeparatorBuilder
,style
andstyleAnimationType
toAnimatedToggleSwitch
- adds
separatorBuilder
toCustomAnimatedToggleSwitch
- adds
active
to all constructors (#30) - adds
styleBuilder
andstyleList
toAnimatedToggleSwitch
- adds
iconList
toAnimatedToggleSwitch.size
,AnimatedToggleSwitch.sizeByHeight
,AnimatedToggleSwitch.rolling
andAnimatedToggleSwitch.rollingByHeight
- BREAKING: moves many parameters in
AnimatedToggleSwitch
tostyle
:innerColor
(renamed tobackgroundColor
)innerGradient
(renamed tobackgroundGradient
)borderColor
indicatorColor
borderRadius
indicatorBorderColor
indicatorBorder
indicatorBorder
foregroundBoxShadow
(renamed toindicatorBoxShadow
)boxShadow
- BREAKING: moves all cursor parameters to
cursors
- BREAKING: removes
borderColorBuilder
in favor of the newstyleBuilder
- BREAKING:
indicatorAnimationType
handlesToggleStyle.indicatorColor
,ToggleStyle.indicatorBorderRadius
,ToggleStyle.indicatorBorder
andToggleStyle.indicatorBoxShadow
now - BREAKING: adds parameter to
onTap
(#41) - BREAKING: changes default background color from
ThemeData.scaffoldBackgroundColor
toThemeData.colorScheme.surface
- BREAKING: renames
dif
tospacing
in all constructors - BREAKING: replaces
transitionType
withindicatorTransition
inAnimatedToggleSwitch.rolling()
,
AnimatedToggleSwitch.rollingByHeight()
andAnimatedToggleSwitch.dual()
- BREAKING: removes
iconSize
andselectedIconSize
inAnimatedToggleSwitch
constructorsrolling()
,rollingByHeight()
,dual()
: new parameterindicatorIconScale
controls scaling nowsize()
,sizeByHeight()
: new parameterselectedIconScale
controls scaling now
v0.8.0-beta.6
- adds parameter to
onTap
(#41)
v0.8.0-beta.5
- fixes
AnimationType.onHover
v0.8.0-beta.4
- 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
v0.8.0-beta.3
- BREAKING: replaces
transitionType
withindicatorTransition
inAnimatedToggleSwitch.rolling()
,
AnimatedToggleSwitch.rollingByHeight()
andAnimatedToggleSwitch.dual()
- BREAKING: replaces
iconSize
andselectedIconSize
rolling()
,rollingByHeight()
anddual()
: now uses IconTheme for controlling default size of Iconssize()
,sizeByHeight()
: new parameterselectedIconScale
controls scaling
v0.8.0-beta.2
- minor fixes
- updates README
v0.8.0-beta.1
- adds
active
to all constructors - closes #30
- minor improvements
- BREAKING: changes
separatorBuilder
parameters - BREAKING: moves all cursor parameters to
cursors