primary_secondary_progress_bar 0.3.0 primary_secondary_progress_bar: ^0.3.0 copied to clipboard
Beautiful progress bar with 2 indicators as primary and secondary indicators for 2 progress values.
primary_secondary_progress_bar #
Primary secondary progress bar, display 2 progress info in 1 progress bar
Installation #
Add primary_secondary_progress_bar as dependencies into your pubspec.yaml
Example #
Container(
height: 300,
padding: const EdgeInsets.all(8.0),
child: PrimarySecondaryProgressBar(
context,
primaryLabel: "${_primaryMax.round()}%",
primaryMax: _primaryMax,
primaryValue: _primaryValue,
secondaryValue: _secondaryValue,
secondaryMax: _secondaryMax,
secondaryLabel: "${_secondaryValue.round()} days",
primaryIndicatorLine1: "${(_primaryMax - _primaryValue).round()}%",
primaryIndicatorLine2: "more",
),
)