material_2_switch 1.0.0
material_2_switch: ^1.0.0 copied to clipboard
Material 2 Switch and Switch List Tile.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add material_2_switchThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
material_2_switch: ^1.0.0Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:material_2_switch/material_2_switch.dart';