Progress constructor

const Progress({
  1. Key? key,
  2. required StepProgressController stepProgressController,
  3. Color backgroundColor = Colors.transparent,
  4. Color strokeColor = Colors.blue,
  5. Color tickColor = Colors.white,
  6. Color valueColor = Colors.blueGrey,
  7. Color defaultColor = const Color(0xFFBBDEFB),
  8. double width = double.infinity,
  9. double height = kToolbarHeight,
  10. EdgeInsets margin = EdgeInsets.zero,
  11. EdgeInsets padding = EdgeInsets.zero,
  12. bool? ltr,
  13. OnStepChanged? onStepChanged,
})

Implementation

const Progress(
    {Key? key,
    required this.stepProgressController,
    this.backgroundColor = Colors.transparent,
    this.strokeColor = Colors.blue,
    this.tickColor = Colors.white,
    this.valueColor = Colors.blueGrey,
    this.defaultColor = const Color(0xFFBBDEFB),
    this.width = double.infinity,
    this.height = kToolbarHeight,
    this.margin = EdgeInsets.zero,
    this.padding = EdgeInsets.zero,
    this.ltr,
    this.onStepChanged})
    : super(key: key);