segment_bar 0.0.3 copy "segment_bar: ^0.0.3" to clipboard
segment_bar: ^0.0.3 copied to clipboard

SegmentBar is a lightweight package for creating a customizable segment bar widget in Flutter, with support for different colors and percentage values for each segment.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add segment_bar

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

dependencies:
  segment_bar: ^0.0.3

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:segment_bar/segment_bar.dart';
4
likes
150
pub points
59%
popularity

Publisher

verified publishersherazi.dev

SegmentBar is a lightweight package for creating a customizable segment bar widget in Flutter, with support for different colors and percentage values for each segment.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on segment_bar