byswitcher 1.0.0 copy "byswitcher: ^1.0.0" to clipboard
byswitcher: ^1.0.0 copied to clipboard

outdated

A Switch Button for Flutter. Pure Dart Code. Loading State Included. Customize Thumb Image Supported.

BySwitcher #

pub package author

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 #

1
likes
0
pub points
0%
popularity

Publisher

unverified uploader

A Switch Button for Flutter. Pure Dart Code. Loading State Included. Customize Thumb Image Supported.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on byswitcher