VideoPlayerOneplusdreamWeb class

A web implementation of the VideoPlayerOneplusdreamPlatform of the VideoPlayerOneplusdream plugin.

Inheritance

Properties

hashCode int
The hash code for this object.
no setterinherited
player ↔ dynamic
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scripts List<String>
final

Methods

buildView(int creationId, PlatformViewCreatedCallback onPlatformViewCreated, {Map<String, dynamic> params = const <String, dynamic>{}}) Widget
override
dispose({required int videoId}) Future<void>
override
importJSFile(String library) Future<void>
init(int videoId) Future<void>
This method is called when the plugin is first initialized.
override
initPlayer(int videoId, Map<String, dynamic> params) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onBack({required int videoId}) Stream<BackEvent>
override
onPlaying({required int videoId}) Stream<PlayingEvent>
override
onRateChange({required int videoId}) Stream<RateChangeEvent>
override
onUrlRequested({required int videoId}) Stream<UrlRequestedEvent>
override
play(int videoId, PlayingItem item) Future<void>
override
toggleFullScreen(int videoId, ToggleFullScreenParam param) Future<void>
override
togglePause(int videoId, bool isPause) Future<void>
override
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

registerWith(Registrar registrar) → void