VideoProgressColors constructor
VideoProgressColors({})
Any property can be set to any color. They each have defaults.
playedColor
defaults to red at 70% opacity. This fills up a portion of
the VideoProgressIndicator to represent how much of the video has played
so far.
bufferedColor
defaults to blue at 20% opacity. This fills up a portion
of VideoProgressIndicator to represent how much of the video has
buffered so far.
backgroundColor
defaults to gray at 50% opacity. This is the background
color behind both playedColor
and bufferedColor
to denote the total
size of the video compared to either of those values.
Implementation
VideoProgressColors({
this.playedColor = const Color.fromRGBO(255, 0, 0, 0.7),
this.bufferedColor = const Color.fromRGBO(50, 50, 200, 0.2),
this.backgroundColor = const Color.fromRGBO(200, 200, 200, 0.5),
});