sliding_segmented_control 1.1.0
sliding_segmented_control: ^1.1.0 copied to clipboard
A themeable segmented control whose selection is marked by a pill sliding between segments, with an optional body that cross-fades underneath it.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add sliding_segmented_controlThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
sliding_segmented_control: ^1.1.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:sliding_segmented_control/sliding_segmented_control.dart';