switcher_button 0.0.4 icon indicating copy to clipboard operation
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.

PropertyDescription
sizeSize of widget, width of widget is equal size and height of widget is equal size / 2
onColoronColor is color of widget when it's on
offColoroffColor is color of widget when it's off
valueinitial value of widget if true widget switch on else widget switch off
onChangeWhen 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);
    },
  )

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

60
likes
130
pub points
89%
popularity

Publisher

unverified uploader

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

Homepage

Documentation

API reference

License

Icon for licenses.MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on switcher_button