ProgressedPlayButton constructor

const ProgressedPlayButton({
  1. Key? key,
  2. bool showProgress = false,
  3. double progress = 1.0,
  4. VoidCallback? onPressed,
  5. Color? iconColor,
  6. Color? backgroundColor,
  7. IconData? icon,
  8. double iconSize = 32.0,
  9. String? tooltip,
})

Creates a new instance.

Implementation

const ProgressedPlayButton({
  Key? key,
  this.showProgress = false,
  this.progress = 1.0,
  this.onPressed,
  this.iconColor,
  this.backgroundColor,
  this.icon,
  this.iconSize = 32.0,
  this.tooltip,
}) : super(key: key);