VideoProgressBarColors class

Used to configure the VideoProgressBar widget's colors for how it describes the video's status.

The widget uses default colors that are customizeable through this class.

Constructors

VideoProgressBarColors({Color backgroundColor = const Color.fromRGBO(255, 255, 255, .4), Color playedColor = const Color.fromRGBO(255, 255, 255, 1), Color bufferedColor = const Color.fromRGBO(255, 255, 255, .7), Color handleColor = const Color.fromRGBO(255, 255, 255, 1)})
Any property can be set to any paint. They each have defaults.

Properties

backgroundColor Color
backgroundColor defaults to white at 40% 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.
final
bufferedColor Color
bufferedColor defaults to white at 70% opacity. This fills up a portion of VideoProgressBar to represent how much of the video has buffered so far.
final
handleColor Color
handleColor defaults to white. To represent the playback position of the current video.
final
handleMoreColor Color
handleMoreColor defaults to white at 70% opacity. To represent the playback position of the current video.
final
hashCode int
The hash code for this object.
no setterinherited
playedColor Color
playedColor defaults to white. This fills up a portion of the VideoProgressBar to represent how much of the video has played so far.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited