CustomVideoController class abstract
Abstract base class for video controllers Allows users to implement their own video controller logic
Constructors
Properties
- dataSource → String
-
Get the video URL or source identifier
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- isInitialized → bool
-
Check if the video controller is initialized
no setter
- isPlaying → bool
-
Check if the video is currently playing
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
dispose(
) → Future< void> - Dispose the video controller and free resources
-
initialize(
) → Future< void> - Initialize the video controller
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
pause(
) → Future< void> - Pause the video
-
play(
) → Future< void> - Play the video
-
togglePlayPause(
) → Future< void> - Toggle between play and pause
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited