MethodChannelFancyVideoPlayer class
An implementation of FancyVideoPlayerPlatform that uses method channels.
- Inheritance
-
- Object
- PlatformInterface
- FancyVideoPlayerPlatform
- MethodChannelFancyVideoPlayer
Constructors
Properties
- errorCallback ↔ Function?
-
The method channel used to interact with the native platform.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- methodChannel → MethodChannel
-
final
- onBackPressed ↔ Function?
-
getter/setter pair
- onEnterPictureInPicture ↔ Function?
-
getter/setter pair
- onErrorBoxClicked ↔ Function?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setErrorCallback(
Function callback) → void -
override
-
setOnBackPressed(
Function callback) → void -
override
-
setOnEnterPictureInPicture(
Function callback) → void -
override
-
setOnErrorBoxClicked(
Function callback) → void -
override
-
startPlayer(
{required String url, Map< String, String> ? headers, bool autoPlay = true, bool closeOnError = false, bool showErrorBox = false, List<Subtitle> ? subtitles}) → Future<String?> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited