PlayerOptions class Null safety

YouTube player options.

Annotations

Constructors

PlayerOptions({dynamic width, dynamic height, String videoId, PlayerVars playerVars, Events events, String host})
factory

Properties

events Events
Handlers for events fired by the player.
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
height ↔ dynamic
Player height
read / write
host String
Points host to correct origin for CORS
read / write
playerVars PlayerVars
Player parameters.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
videoId String
ID of the video to load.
read / write
width ↔ dynamic
Player width.
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

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