switcher_button 0.0.4 copy "switcher_button: ^0.0.4" to clipboard
switcher_button: ^0.0.4 copied to clipboard

Flutter switch button with minimal design and material animation and highly customizable.It can be use as switch button or toggle buttons.

switcher_button #

Switcher button. Flutter switch button with minimal design and material animation and highly customizable.It can be use as switch button or toggle buttons.

Property Description
size Size of widget, width of widget is equal size and height of widget is equal size / 2
onColor onColor is color of widget when it's on
offColor offColor is color of widget when it's off
value initial value of widget if true widget switch on else widget switch off
onChange When user tap on switch button and change state of widget onChange will call and pass current state of widget

Usage #

SwitcherButton(
    value: true,
    onChange: (value) {
      print(value);
    },
  )
copied to clipboard

thanks to https://dribbble.com/katelaguta for nice design.

96
likes
150
points
3.35k
downloads

Publisher

unverified uploader

Weekly Downloads

2024.08.26 - 2025.03.10

Flutter switch button with minimal design and material animation and highly customizable.It can be use as switch button or toggle buttons.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on switcher_button