VttCue class Null safety

Inheritance
Annotations
  • @Native("VTTCue")

Constructors

VttCue(num startTime, num endTime, String text)
factory

Properties

align String?
read / write
endTime num?
read / write, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
id String?
read / write, inherited
line Object?
@Creates('Null'), @Returns('num|String'), read / write
on Events
This is an ease-of-use accessor for event streams which should only be used when an explicit accessor is not available.
read-only, inherited
onEnter Stream<Event>
Stream of enter events handled by this TextTrackCue.
read-only, inherited
onExit Stream<Event>
Stream of exit events handled by this TextTrackCue.
read-only, inherited
pauseOnExit bool?
read / write, inherited
position Object?
@Creates('Null'), @Returns('num|String'), read / write
region VttRegion?
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
size num?
read / write
snapToLines bool?
read / write
startTime num?
read / write, inherited
text String?
read / write
track TextTrack?
read-only, inherited
vertical String?
read / write

Methods

addEventListener(String type, EventListener? listener, [bool? useCapture]) → void
inherited
dispatchEvent(Event event) bool
inherited
getCueAsHtml() DocumentFragment
@JSName('getCueAsHTML')
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
removeEventListener(String type, EventListener? listener, [bool? useCapture]) → void
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

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