VideoPlayerOneplusdreamWeb class
A web implementation of the VideoPlayerOneplusdreamPlatform of the VideoPlayerOneplusdream plugin.
- Inheritance
-
- Object
- PlatformInterface
- VideoPlayerOneplusdreamPlatform
- VideoPlayerOneplusdreamWeb
Constructors
- VideoPlayerOneplusdreamWeb.new()
- Constructs a VideoPlayerOneplusdreamWeb
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
buildView(
int creationId, PlatformViewCreatedCallback onPlatformViewCreated, {Map< String, dynamic> params = const <String, dynamic>{}}) → Widget -
override
-
dispose(
{required int videoId}) → Future -
inherited
-
init(
int videoId) → Future< void> -
This method is called when the plugin is first initialized.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onBack(
{required int videoId}) → Stream< BackEvent> -
inherited
-
onPlaying(
{required int videoId}) → Stream< PlayingEvent> -
inherited
-
play(
int videoId, PlayingItem item) → Future -
inherited
-
toggleFullScreen(
int videoId, ToggleFullScreenParam param) → Future -
Returns a String containing the version of the platform.
override
-
togglePause(
int videoId, bool isPause) → Future -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
registerWith(
Registrar registrar) → void