FlickAutoPlayCircularProgress constructor

const FlickAutoPlayCircularProgress({
  1. Key? key,
  2. FlickAutoPlayTimerProgressColors? colors,
  3. double width = 50,
  4. double height = 50,
  5. Widget playChild = const Icon(Icons.play_arrow),
  6. Widget cancelChild = const Padding(padding: EdgeInsets.symmetric(vertical: 10), child: Text('Cancel')),
  7. Function? playNextVideo,
  8. Function? cancelAutoPlayTimer,
})

Implementation

const FlickAutoPlayCircularProgress({
  Key? key,
  this.colors,
  this.width = 50,
  this.height = 50,
  this.playChild = const Icon(
    Icons.play_arrow,
  ),
  this.cancelChild = const Padding(
    padding: EdgeInsets.symmetric(vertical: 10),
    child: Text(
      'Cancel',
    ),
  ),
  this.playNextVideo,
  this.cancelAutoPlayTimer,
}) : super(key: key);