Multi Progress Bar
A flutter library for simple and fast building of a progress bar with multiple progress.
Features
- Display multiple values on a vertical bar using progress indicators.
- Null safety
- Built on Dart
Getting started
To start, import the dependency in your code:
import 'package:multi_progress_bar/progress_bar.dart';
Next, to use it :
MultiProgressBar(
progressList: [
ProgressItem(title: 'Type A', progress: 0.7, progressColor: Colors.orange),
ProgressItem(title: 'Type B', progress: 0.1, progressColor: Colors.blue),
ProgressItem(title: 'Type C', progress: 0.2, progressColor: Colors.yellow),
],
)
Depending on your requirements you may want to control some things. The following options are available:
Property | Type | Description |
---|---|---|
enableLegends |
bool | Controls the legends will be enabled or disabled. |
Usage
MultiProgressBar(
progressList: [
ProgressItem(title: 'Type A', progress: 0.7, progressColor: Colors.orange),
ProgressItem(title: 'Type B', progress: 0.1, progressColor: Colors.blue),
ProgressItem(title: 'Type C', progress: 0.2, progressColor: Colors.yellow),
],
)
Additional information
For author/contributor information, see the AUTHORS file.