Skip to content

Releases: splashbyte/animated_toggle_switch

v0.8.7

09 Jan 06:59
59a3336

Choose a tag to compare

v0.8.6

09 Jan 06:36
9bf4b9a

Choose a tag to compare

v0.8.5

28 Apr 18:04
413c645

Choose a tag to compare

  • adds padding to AnimatedToggleSwitch (#65)

v0.8.4

18 Dec 19:46

Choose a tag to compare

  • adds option to add ToggleStyle to ThemeData as ThemeExtension
  • removes usage of deprecated members

v0.8.3

12 Aug 15:34

Choose a tag to compare

  • adds support for vertical switches (#61)

v0.8.2

26 Feb 15:27

Choose a tag to compare

  • adds clipBehavior to AnimatedToggleSwitch (#56)

v0.8.1

06 Feb 20:49
c022d03

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

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

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

Choose a tag to compare

v0.8.0-beta.5 Pre-release
Pre-release
  • fixes AnimationType.onHover