flutter_switch_2_3_states 0.0.1 copy "flutter_switch_2_3_states: ^0.0.1" to clipboard
flutter_switch_2_3_states: ^0.0.1 copied to clipboard

discontinued
outdated

Widget switch with 2 or 3 states

switch 2 or 3 states #

A new Flutter application.

Getting Started #

This project is a starting point for a Flutter application.

A few resources to get you started if this is your first Flutter project:

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

   WidgetSwitch1(
                iconRight: Icons.check,
                initValue: value2,
                width: 200,
                buttonDiameter: 55,
                iconSize: 60,
                ///this is dymamic type list to values user parsed
                values: [false, null, true],
                ///values: [0,1,2],
                ///values: ['0','1','2'],
                ///values: [0,2,1],
                onChange: (x) {
                  print(x);
                  setState(() {
                    value2 = x;
                  });
                },
              ),

exemple

Licence #

MIT

5
likes
0
pub points
40%
popularity

Publisher

unverified uploader

Widget switch with 2 or 3 states

Homepage

License

unknown (license)

Dependencies

cupertino_icons, flutter

More

Packages that depend on flutter_switch_2_3_states