Inheritance
Annotations
  • @DocsEditable()
  • @DomName('SpeechSynthesisUtterance')
  • @Experimental()
  • @Native("SpeechSynthesisUtterance")

Constructors

SpeechSynthesisUtterance([String text ])
factory

Properties

lang String
@DocsEditable(), @DomName('SpeechSynthesisUtterance.lang'), read / write
onBoundary Stream<SpeechSynthesisEvent>
Stream of boundary events handled by this SpeechSynthesisUtterance.
@DocsEditable(), @DomName('SpeechSynthesisUtterance.onboundary'), read-only
onEnd Stream<SpeechSynthesisEvent>
Stream of end events handled by this SpeechSynthesisUtterance.
@DocsEditable(), @DomName('SpeechSynthesisUtterance.onend'), read-only
onError Stream<Event>
Stream of error events handled by this SpeechSynthesisUtterance.
@DocsEditable(), @DomName('SpeechSynthesisUtterance.onerror'), read-only
onMark Stream<SpeechSynthesisEvent>
Stream of mark events handled by this SpeechSynthesisUtterance.
@DocsEditable(), @DomName('SpeechSynthesisUtterance.onmark'), read-only
onPause Stream<Event>
Stream of pause events handled by this SpeechSynthesisUtterance.
@DocsEditable(), @DomName('SpeechSynthesisUtterance.onpause'), read-only
onResume Stream<SpeechSynthesisEvent>
Stream of resume events handled by this SpeechSynthesisUtterance.
@DocsEditable(), @DomName('SpeechSynthesisUtterance.onresume'), read-only
onStart Stream<SpeechSynthesisEvent>
Stream of start events handled by this SpeechSynthesisUtterance.
@DocsEditable(), @DomName('SpeechSynthesisUtterance.onstart'), read-only
pitch num
@DocsEditable(), @DomName('SpeechSynthesisUtterance.pitch'), read / write
rate num
@DocsEditable(), @DomName('SpeechSynthesisUtterance.rate'), read / write
text String
@DocsEditable(), @DomName('SpeechSynthesisUtterance.text'), read / write
voice SpeechSynthesisVoice
@DocsEditable(), @DomName('SpeechSynthesisUtterance.voice'), read / write
volume num
@DocsEditable(), @DomName('SpeechSynthesisUtterance.volume'), read / write
hashCode int
read-only, inherited
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
runtimeType Type
read-only, inherited

Methods

addEventListener(String type, EventListener listener, [ bool useCapture ]) → void
inherited
dispatchEvent(Event event) bool
@DocsEditable(), @DomName('EventTarget.dispatchEvent'), inherited
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 ==(other) bool
The equality operator. [...]
inherited

Constants

boundaryEvent EventStreamProvider<SpeechSynthesisEvent>
Static factory designed to expose boundary events to event handlers that are not necessarily instances of SpeechSynthesisUtterance. [...]
@DocsEditable(), @DomName('SpeechSynthesisUtterance.boundaryEvent')
endEvent EventStreamProvider<SpeechSynthesisEvent>
Static factory designed to expose end events to event handlers that are not necessarily instances of SpeechSynthesisUtterance. [...]
@DocsEditable(), @DomName('SpeechSynthesisUtterance.endEvent')
errorEvent EventStreamProvider<Event>
Static factory designed to expose error events to event handlers that are not necessarily instances of SpeechSynthesisUtterance. [...]
@DocsEditable(), @DomName('SpeechSynthesisUtterance.errorEvent')
const EventStreamProvider<Event>('error')
markEvent EventStreamProvider<SpeechSynthesisEvent>
Static factory designed to expose mark events to event handlers that are not necessarily instances of SpeechSynthesisUtterance. [...]
@DocsEditable(), @DomName('SpeechSynthesisUtterance.markEvent')
pauseEvent EventStreamProvider<Event>
Static factory designed to expose pause events to event handlers that are not necessarily instances of SpeechSynthesisUtterance. [...]
@DocsEditable(), @DomName('SpeechSynthesisUtterance.pauseEvent')
const EventStreamProvider<Event>('pause')
resumeEvent EventStreamProvider<SpeechSynthesisEvent>
Static factory designed to expose resume events to event handlers that are not necessarily instances of SpeechSynthesisUtterance. [...]
@DocsEditable(), @DomName('SpeechSynthesisUtterance.resumeEvent')
startEvent EventStreamProvider<SpeechSynthesisEvent>
Static factory designed to expose start events to event handlers that are not necessarily instances of SpeechSynthesisUtterance. [...]
@DocsEditable(), @DomName('SpeechSynthesisUtterance.startEvent')