VideoProgressIndicator constructor
VideoProgressIndicator(
- VideoPlayerController controller, {
- VideoProgressColors? colors,
- bool? allowScrubbing,
- EdgeInsets padding = const EdgeInsets.only(top: 5.0),
- Key? key,
Construct an instance that displays the play/buffering status of the video
controlled by controller
.
Defaults will be used for everything except controller
if they're not
provided. allowScrubbing
defaults to false, and padding
will default
to top: 5.0
.
Implementation
VideoProgressIndicator(
this.controller, {
VideoProgressColors? colors,
this.allowScrubbing,
this.padding = const EdgeInsets.only(top: 5.0),
Key? key,
}) : colors = colors ?? VideoProgressColors(),
super(key: key);