dh_switch 1.0.2 copy "dh_switch: ^1.0.2" to clipboard
dh_switch: ^1.0.2 copied to clipboard

A Simple Switch package.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add dh_switch

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  dh_switch: ^1.0.2

Alternatively, 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:dh_switch/dh_switch.dart';
0
likes
150
points
30
downloads

Publisher

unverified uploader

Weekly Downloads

A Simple Switch package.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on dh_switch