CustomVideoPlayerController class
Constructors
-
CustomVideoPlayerController({required BuildContext context, required CachedVideoPlayerController videoPlayerController, CustomVideoPlayerSettings customVideoPlayerSettings = const CustomVideoPlayerSettings(), Map<
String, CachedVideoPlayerController> ? additionalVideoSources})
Properties
-
additionalVideoSources
→ Map<
String, CachedVideoPlayerController> ? -
final
-
areControlsVisible
→ ValueNotifier<
bool> -
final
- context → BuildContext
-
final
- customVideoPlayerSettings → CustomVideoPlayerSettings
-
final
- getPosition → Duration
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
-
playedOnceNotifier
→ ValueNotifier<
bool> -
public accessable methods and values for the controller
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- videoPlayerController ↔ CachedVideoPlayerController
-
getter/setter pair
Methods
-
dispose(
) → void - call dispose on the dispose method in your parent widget to be sure that every values is disposed
-
mute(
) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setFullscreen(
bool fullscreen) → Future< void> -
switchSource(
String sourceKey) → Future< void> -
toString(
) → String -
A string representation of this object.
inherited
-
unMute(
) → void
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited