ExampleCustomVideoController class
Example: Custom controller for different video player package
- Inheritance
-
- Object
- CustomVideoController
- ExampleCustomVideoController
Constructors
Properties
- dataSource → String
-
Get the video URL or source identifier
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- isInitialized → bool
-
Check if the video controller is initialized
no setteroverride
- isPlaying → bool
-
Check if the video is currently playing
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
dispose(
) → Future< void> -
Dispose the video controller and free resources
override
-
initialize(
) → Future< void> -
Initialize the video controller
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
pause(
) → Future< void> -
Pause the video
override
-
play(
) → Future< void> -
Play the video
override
-
togglePlayPause(
) → Future< void> -
Toggle between play and pause
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited