CircularIconProgress constructor

const CircularIconProgress({
  1. Key? key,
  2. required Widget icon,
  3. Color progressColor = Colors.red,
  4. Color backgroundColor = Colors.white,
  5. double size = 100.0,
  6. double strokeWidth = 4.0,
  7. Duration duration = const Duration(seconds: 2),
})

Implementation

const CircularIconProgress({
  Key? key,
  required this.icon,
  this.progressColor = Colors.red,
  this.backgroundColor = Colors.white,
  this.size = 100.0,
  this.strokeWidth = 4.0,
  this.duration = const Duration(seconds: 2),
}) : super(key: key);