You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
adds styleBuilder and styleList to AnimatedToggleSwitch
adds iconList to AnimatedToggleSwitch.size, AnimatedToggleSwitch.sizeByHeight, AnimatedToggleSwitch.rolling and AnimatedToggleSwitch.rollingByHeight
BREAKING: moves many parameters in AnimatedToggleSwitch to style:
innerColor (renamed to backgroundColor)
innerGradient (renamed to backgroundGradient)
borderColor
indicatorColor
borderRadius
indicatorBorderColor
indicatorBorder
indicatorBorder
foregroundBoxShadow (renamed to indicatorBoxShadow)
boxShadow
BREAKING: moves all cursor parameters to cursors
BREAKING: removes borderColorBuilder in favor of the new styleBuilder
BREAKING: indicatorAnimationType handles ToggleStyle.indicatorColor, ToggleStyle.indicatorBorderRadius, ToggleStyle.indicatorBorder and ToggleStyle.indicatorBoxShadow now
BREAKING: changes default background color from ThemeData.scaffoldBackgroundColor to ThemeData.colorScheme.surface
BREAKING: renames dif to spacing in all constructors
BREAKING: replaces transitionType with indicatorTransition in AnimatedToggleSwitch.rolling(), AnimatedToggleSwitch.rollingByHeight() and AnimatedToggleSwitch.dual()
BREAKING: removes iconSize and selectedIconSize in AnimatedToggleSwitch constructors
rolling(), rollingByHeight(), dual(): new parameter indicatorIconScale controls scaling now
size(), sizeByHeight(): new parameter selectedIconScale controls scaling now