primary_secondary_progress_bar

Primary secondary progress bar, display 2 progress info in 1 progress bar

Sample result

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",
                ),
              )

Libraries

primary_secondary_progress_bar