toggle_switch_max 2.4.0
toggle_switch_max: ^2.4.0 copied to clipboard
Flutter 升级 3.35.7 之后,对 toggle_switch 插件的升级(After Flutter upgrade 3.35.7, the upgrade of toggle_switch plugins.)。
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add toggle_switch_maxThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
toggle_switch_max: ^2.4.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:toggle_switch_max/toggle_switch_max.dart';