byswitcher 1.0.0 byswitcher: ^1.0.0 copied to clipboard
A Switch Button for Flutter. Pure Dart Code. Loading State Included. Customize Thumb Image Supported.
BySwitcher #
A Switch Button for Flutter.
Feature #
- 参考Flutter自带Switch实现,增加了“加载中”的状态,适用于开关需要网络请求的场景;
- 可自定义开关底图(例如:开/关);
- 可自定义按钮图
Get Started #
Add Dependency #
dependencies:
byswitcher: ^1.0.0
Usage #
import 'package:byswitcher/byswitcher.dart';
/// Normal Switcher
child: BySwitcher();
/// Has Loading State Default
child: BySwitcher.loading();
Support or Contact #
- E-Mail: bluesofy@live.cn