custom_segment_control 1.1.2
custom_segment_control: ^1.1.2 copied to clipboard
Customizable segment control widget that allows users to toggle between various options. The widget supports various customization options including text, colors, font size, animations, and background [...]
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add custom_segment_controlThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
custom_segment_control: ^1.1.2Alternatively, 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:custom_segment_control/custom_segment_control.dart';