Inheritance
Annotations
  • DocsEditable()
  • DomName('SpeechSynthesisUtterance')
  • Experimental()

Constants

boundaryEvent EventStreamProvider<SpeechSynthesisEvent>

Static factory designed to expose boundary events to event handlers that are not necessarily instances of SpeechSynthesisUtterance.

endEvent EventStreamProvider<SpeechSynthesisEvent>

Static factory designed to expose end events to event handlers that are not necessarily instances of SpeechSynthesisUtterance.

errorEvent EventStreamProvider<Event>

Static factory designed to expose error events to event handlers that are not necessarily instances of SpeechSynthesisUtterance.

const EventStreamProvider<Event>('error')
markEvent EventStreamProvider<SpeechSynthesisEvent>

Static factory designed to expose mark events to event handlers that are not necessarily instances of SpeechSynthesisUtterance.

pauseEvent EventStreamProvider<Event>

Static factory designed to expose pause events to event handlers that are not necessarily instances of SpeechSynthesisUtterance.

const EventStreamProvider<Event>('pause')
resumeEvent EventStreamProvider<SpeechSynthesisEvent>

Static factory designed to expose resume events to event handlers that are not necessarily instances of SpeechSynthesisUtterance.

startEvent EventStreamProvider<SpeechSynthesisEvent>

Static factory designed to expose start events to event handlers that are not necessarily instances of SpeechSynthesisUtterance.

Static Properties

instanceRuntimeType Type

read-only

Constructors

SpeechSynthesisUtterance([String text])

factory
SpeechSynthesisUtterance.internal_()

Properties

hashCode int

read-only, inherited
lang 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
onBoundary Stream<SpeechSynthesisEvent>

Stream of boundary events handled by this SpeechSynthesisUtterance.

read-only
onEnd Stream<SpeechSynthesisEvent>

Stream of end events handled by this SpeechSynthesisUtterance.

read-only
onError Stream<Event>

Stream of error events handled by this SpeechSynthesisUtterance.

read-only
onMark Stream<SpeechSynthesisEvent>

Stream of mark events handled by this SpeechSynthesisUtterance.

read-only
onPause Stream<Event>

Stream of pause events handled by this SpeechSynthesisUtterance.

read-only
onResume Stream<SpeechSynthesisEvent>

Stream of resume events handled by this SpeechSynthesisUtterance.

read-only
onStart Stream<SpeechSynthesisEvent>

Stream of start events handled by this SpeechSynthesisUtterance.

read-only
pitch num

read / write
rate num

read / write
runtimeType Type

A representation of the runtime type of the object.

read-only, inherited
text String

read / write
voice SpeechSynthesisVoice

read / write
volume num

read / write

Operators

operator ==(other) bool

The equality operator.

inherited

Methods

addEventListener(String type, EventListener listener(Event event), [bool useCapture]) → void

inherited
dispatchEvent(Event event) bool

inherited
noSuchMethod(Invocation invocation) → dynamic

Invoked when a non-existent method or property is accessed.

inherited
removeEventListener(String type, EventListener listener(Event event), [bool useCapture]) → void

inherited
toString() String

Returns the result of the JavaScript objects toString method.

inherited