FlickManager class

Manages VideoPlayerController and operations on it.

Constructors

FlickManager({Function? onVideoEnd, GetPlayerControlsTimeout? getPlayerControlsTimeout, required VideoPlayerController videoPlayerController, bool autoInitialize = true, bool autoPlay = true})

Properties

context BuildContext?
no setter
flickControlManager FlickControlManager?
no setter
flickDisplayManager FlickDisplayManager?
no setter
flickVideoManager FlickVideoManager?
no setter
getPlayerControlsTimeout GetPlayerControlsTimeout
Player controls auto-hide timeout callback, called when player state changes.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
onVideoEnd Function?
Video end callback, change the video in this callback.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

dispose() → dynamic
Dispose the flick manager.
handleChangeVideo(VideoPlayerController videoPlayerController, {Duration? videoChangeDuration, TimerCancelCallback? timerCancelCallback}) → dynamic
Change the video.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
registerContext(BuildContext context) → dynamic
toString() String
A string representation of this object.
inherited

Operators

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