PrimarySecondaryProgressBar constructor
PrimarySecondaryProgressBar(BuildContext context, { double primaryValue: 0.0, double primaryMax: 0.0, String primaryLabel: "", String primaryIndicatorLine1: "", String primaryIndicatorLine2: "", Color primaryTextColor: Colors.indigo, double secondaryValue: 0.0, double secondaryMax: 0.0, String secondaryLabel: "", Color secondaryTextColor: Colors.white, dynamic sliderWidth: 0.0, dynamic sliderHeight: 0.0, Color activeColor: Colors.white, double indicatorArrowHeight: 10.0, double indicatorHeight: 40.0, double indicatorWidth: 80.0 })
Implementation
PrimarySecondaryProgressBar(
BuildContext context, {
double primaryValue = 0.0,
double primaryMax = 0.0,
String primaryLabel = "",
String primaryIndicatorLine1 = "",
String primaryIndicatorLine2 = "",
Color primaryTextColor = Colors.indigo,
double secondaryValue = 0.0,
double secondaryMax = 0.0,
String secondaryLabel = "",
Color secondaryTextColor = Colors.white,
this.sliderWidth = 0.0,
this.sliderHeight = 0.0,
Color activeColor = Colors.white,
double indicatorArrowHeight = 10.0,
double indicatorHeight = 40.0,
double indicatorWidth = 80.0,
}) :_painter = _PrimarySecondaryProgressBarPainter(context,
primaryValue: primaryValue,
primaryMax: primaryMax,
primaryLabel: primaryLabel,
primaryIndicatorLine1: primaryIndicatorLine1,
primaryIndicatorLine2: primaryIndicatorLine2,
primaryTextColor: primaryTextColor,
secondaryMax: secondaryMax,
secondaryValue: secondaryValue,
secondaryLabel: secondaryLabel,
secondaryTextColor: secondaryTextColor,
activeColor: activeColor,
indicatorArrowHeight: indicatorArrowHeight,
indicatorHeight: indicatorHeight,
indicatorWidth: indicatorWidth);