switch_up 0.0.2+1 copy "switch_up: ^0.0.2+1" to clipboard
switch_up: ^0.0.2+1 copied to clipboard

An animated toggle switch which can be fully customized with desired width, colors, text, corner radius, animation etc. It also maintains selection state.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add switch_up

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

dependencies:
  switch_up: ^0.0.2+1

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:switch_up/switch_up.dart';
23
likes
90
points
11
downloads

Publisher

unverified uploader

Weekly Downloads

An animated toggle switch which can be fully customized with desired width, colors, text, corner radius, animation etc. It also maintains selection state.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on switch_up