ratio_bar 1.0.1
ratio_bar: ^1.0.1 copied to clipboard
A simple and customizable Flutter widget for displaying a ratio bar, which visually represents the proportion between two values.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add ratio_barThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
ratio_bar: ^1.0.1Alternatively, 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:ratio_bar/ratio_bar.dart';