custom_segment_control 1.1.2 copy "custom_segment_control: ^1.1.2" to clipboard
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_control

This 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.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:custom_segment_control/custom_segment_control.dart';
2
likes
130
points
46
downloads

Publisher

verified publisherpingdaksh.com

Weekly Downloads

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 images for each segment. It also includes drag gestures for seamless interaction and is ideal for scenarios requiring a binary choice, such as switching between two modes or options.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter

More

Packages that depend on custom_segment_control