CountdownProgress constructor

const CountdownProgress({
  1. Key? key,
  2. required ProgressController controller,
  3. required VoidCallback onTimeout,
  4. required Function onUpdate,
  5. double size = 40,
  6. Color backgroundColor = Colors.blue,
  7. Color valueColor = Colors.white,
  8. TextStyle? textStyle,
  9. double strokeWidth = 3.0,
  10. ProgressType progressType = ProgressType.Circular,
  11. ProgressWidget progressWidget = ProgressWidget.TEXT,
})

Implementation

const CountdownProgress(
    {Key? key,
    required this.controller,
    required this.onTimeout,
    required this.onUpdate,
    this.size = 40,
    this.backgroundColor = Colors.blue,
    this.valueColor = Colors.white,
    this.textStyle,
    this.strokeWidth = 3.0,
    this.progressType = ProgressType.Circular,
    this.progressWidget = ProgressWidget.TEXT})
    : super(key: key);