CustomVideoPlayerProgressBarSettings class
Constructors
- CustomVideoPlayerProgressBarSettings({bool showProgressBar = true, bool allowScrubbing = true, EdgeInsets reachableProgressBarPadding = const EdgeInsets.all(5), double progressBarHeight = 10, double progressBarBorderRadius = 10, Color progressColor = const Color.fromRGBO(255, 255, 255, 1), Color bufferedColor = const Color.fromRGBO(255, 255, 255, 0.3), Color backgroundColor = const Color.fromRGBO(156, 156, 156, 0.5)})
-
const
Properties
- allowScrubbing → bool
-
If set to false the video cannot be skipped by sliding the finger over the progress bar.
final
- backgroundColor → Color
-
The background color of the progress bar.
final
- bufferedColor → Color
-
The color of the buffered progress.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- progressBarBorderRadius → double
-
The BorderRadius of the progress bar.
final
- progressBarHeight → double
-
The height of the progress bar.
final
- progressColor → Color
-
The color of the current progress of the video.
final
- reachableProgressBarPadding → EdgeInsets
-
The padding around the progress bar where it is also reachable. Can be useful to define a larger area where the users could tap the progress bar.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- showProgressBar → bool
-
If set to false the progress bar will not be displayed.
final
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