flutter_switch 0.3.2 copy "flutter_switch: ^0.3.2" to clipboard
flutter_switch: ^0.3.2 copied to clipboard

A custom switch widget that can have a custom height and width, borders, border radius, colors, toggle size, custom text and icons inside the toggle.

[0.3.2] - June 23, 2021 #

  • Set outer width to contain the switch and for proper alignment.

[0.3.1] - April 12, 2021 #

  • Revised the activeIcon and inactiveIcon to accept other types of widget including Images, Icon and FontAwesome Icons.

[0.3.0] - March 06, 2021 #

  • Migrated to null safety. Beware for possible breaking changes.
  • Added disabled property that expects a true or false value. Defaults to false if no value was passed.

[0.3.0-nullsafety.0] - March 06, 2021 #

  • Migrated to null safety. Beware for possible breaking changes.

[0.2.2] - March 06, 2021 #

  • Made toggle animation smoother
  • Opacity animation for switch texts and icons
  • Added duration property

[0.2.1] - February 16, 2021 #

  • Handling the display of the switch in the AppBar

[0.2.0] - December 12, 2020 #

  • Added switch and toggle border property. Now you can try to give your switch a toon-like feel
  • Update Readme
  • Added toggle icon property
  • Added sample usage of custom border and icons in /example

[0.1.5] - October 25, 2020 #

  • Fix an issue where the conditional statement is ignored in the first tap of the switch

[0.1.4] - October 25, 2020 #

  • Handling of state when no changes was made

[0.1.3] - September 26, 2020 #

  • Handling of state was fixed
  • Added comments for each property
  • Added active and inactive font weight property

[0.1.2] - September 21, 2020 #

  • Dispose of animation controller

[0.1.1] - June 28, 2020 #

  • Custom switch active and inactive text

[0.1.0] - May 10, 2020 #

  • Custom switch height and width
  • Custom acitve or inactive switch color
  • Custom toggle color
  • Custom toggle size
  • Custom switch border radius
  • Custom switch padding
  • Choice to display 'on' or 'off' value inside the switch
  • Custom active or inactive value color
613
likes
150
pub points
99%
popularity

Publisher

verified publishernickromero.dev

A custom switch widget that can have a custom height and width, borders, border radius, colors, toggle size, custom text and icons inside the toggle.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter

More

Packages that depend on flutter_switch