PrimarySecondaryProgressBar constructor

PrimarySecondaryProgressBar(
  1. BuildContext context, {
  2. double primaryValue = 0.0,
  3. double primaryMax = 0.0,
  4. String primaryLabel = "",
  5. String primaryIndicatorLine1 = "",
  6. String primaryIndicatorLine2 = "",
  7. Color primaryTextColor = Colors.indigo,
  8. double secondaryValue = 0.0,
  9. double secondaryMax = 0.0,
  10. String secondaryLabel = "",
  11. Color secondaryTextColor = Colors.white,
  12. dynamic sliderWidth = 0.0,
  13. dynamic sliderHeight = 0.0,
  14. Color activeColor = Colors.white,
  15. double indicatorArrowHeight = 10.0,
  16. double indicatorHeight = 40.0,
  17. double indicatorWidth = 80.0,
  18. String semanticsLabel = "",
})

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,
  String semanticsLabel = "",
}) : _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),
      semanticsLabel = semanticsLabel;