PackageTrack
Sign in Get early access

flutter_switch

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 120K downloads/mo #1057 most downloaded on pub.dev boringdeveloper/FlutterSwitch

What this package is like to depend on

Last release 5 years ago

no release in 18 months

Ships fairly regularly

a new release about every 2 months

Most releases are documented

notes for 12 of 15 stable releases

Nothing withdrawn

no release was ever pulled

6 years old

18 releases · first in 2020

0 releases in the last 12 months

see the full history below

Release timeline

18 releases · May 2020 to Jun 2021
2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 18
  1. 0.3.2 22 Jun 2021
    Release notes
    • Set outer width to contain the switch and for proper alignment.
    Open source →
  2. 0.3.1 12 Apr 2021
    Release notes
    • Revised the activeIcon and inactiveIcon to accept other types of widget including Images, Icon and FontAwesome Icons.
    Open source →
  3. 0.3.0 16 Mar 2021
    Release notes
    • 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.
    Open source →
  4. 0.3.0-nullsafety.0 06 Mar 2021 pre-release
    Release notes
    • Migrated to null safety. Beware for possible breaking changes.
    Open source →
  5. 0.2.2 05 Mar 2021
    Release notes
    • Made toggle animation smoother
    • Opacity animation for switch texts and icons
    • Added duration property
    Open source →
  6. 0.2.1 16 Feb 2021
    Release notes
    • Handling the display of the switch in the AppBar
    Open source →
  7. 0.2.0 12 Dec 2020
    Release notes
    • 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
    Open source →
  8. 0.1.6-beta.1 10 Dec 2020 pre-release

    Nothing published for this version

  9. 0.1.6-beta 09 Dec 2020 pre-release

    Nothing published for this version

  10. 0.1.5 29 Oct 2020
    Release notes
    • Fix an issue where the conditional statement is ignored in the first tap of the switch
    Open source →
  11. 0.1.4 24 Oct 2020
    Release notes
    • Handling of state when no changes was made
    Open source →
  12. 0.1.3 26 Sep 2020
    Release notes
    • Handling of state was fixed
    • Added comments for each property
    • Added active and inactive font weight property
    Open source →
  13. 0.1.2 20 Sep 2020
    Release notes
    • Dispose of animation controller
    Open source →
  14. 0.1.1 27 Jun 2020
    Release notes
    • Custom switch active and inactive text
    Open source →
  15. 0.1.0 10 May 2020
    Release notes
    • 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
    Open source →
  16. 0.0.3 09 May 2020

    Nothing published for this version

  17. 0.0.2 09 May 2020

    Nothing published for this version

  18. 0.0.1 09 May 2020

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive