Skip to content

Releases: splashbyte/animated_toggle_switch

v0.8.3

12 Aug 15:34
Compare
Choose a tag to compare
  • adds support for vertical switches (#61)

v0.8.2

26 Feb 15:27
Compare
Choose a tag to compare
  • adds clipBehavior to AnimatedToggleSwitch (#56)

v0.8.1

06 Feb 20:49
c022d03
Compare
Choose a tag to compare
  • adds indicatorGradient to ToggleStyle (#44)
  • fixes problems with backgroundGradient and backgroundColor (#46)
  • adds AnimationType.none
  • introduces positionListener (#50)
  • fixes #51

v0.8.0

02 Sep 09:57
Compare
Choose a tag to compare
  • adds tests for all AnimatedToggleSwitch constructors
  • adds separatorBuilder, customSeparatorBuilder, style and styleAnimationType to AnimatedToggleSwitch
  • adds separatorBuilder to CustomAnimatedToggleSwitch
  • adds active to all constructors (#30)
  • 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: adds parameter to onTap (#41)
  • 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

v0.8.0-beta.6

22 Aug 06:41
b6cf4dd
Compare
Choose a tag to compare
v0.8.0-beta.6 Pre-release
Pre-release
  • adds parameter to onTap (#41)

v0.8.0-beta.5

18 Aug 13:18
7b05d1a
Compare
Choose a tag to compare
v0.8.0-beta.5 Pre-release
Pre-release
  • fixes AnimationType.onHover

v0.8.0-beta.4

18 Aug 07:46
6c0c7ac
Compare
Choose a tag to compare
v0.8.0-beta.4 Pre-release
Pre-release
  • BREAKING: removes IconTheme for controlling default size of Icons
  • BREAKING: changes default background color from ThemeData.scaffoldBackgroundColor to ThemeData.colorScheme.surface
  • BREAKING: renames dif to spacing in all constructors

v0.8.0-beta.3

11 Aug 06:40
75a00a5
Compare
Choose a tag to compare
v0.8.0-beta.3 Pre-release
Pre-release
  • BREAKING: replaces transitionType with indicatorTransition in AnimatedToggleSwitch.rolling(),
    AnimatedToggleSwitch.rollingByHeight() and AnimatedToggleSwitch.dual()
  • BREAKING: replaces iconSize and selectedIconSize
    • rolling(), rollingByHeight() and dual(): now uses IconTheme for controlling default size of Icons
    • size(), sizeByHeight(): new parameter selectedIconScale controls scaling

v0.8.0-beta.2

01 Aug 19:49
fa31621
Compare
Choose a tag to compare
v0.8.0-beta.2 Pre-release
Pre-release
  • minor fixes
  • updates README

v0.8.0-beta.1

31 Jul 11:40
6dc4799
Compare
Choose a tag to compare
v0.8.0-beta.1 Pre-release
Pre-release
  • adds active to all constructors
  • closes #30
  • minor improvements
  • BREAKING: changes separatorBuilder parameters
  • BREAKING: moves all cursor parameters to cursors