Not documented.

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

Constants

EventStreamProvider<SpeechSynthesisEvent> boundaryEvent = const EventStreamProvider<SpeechSynthesisEvent>('boundary')
const

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

EventStreamProvider<SpeechSynthesisEvent> endEvent = const EventStreamProvider<SpeechSynthesisEvent>('end')
const

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

EventStreamProvider<Event> errorEvent = const EventStreamProvider<Event>('error')
const

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

EventStreamProvider<SpeechSynthesisEvent> markEvent = const EventStreamProvider<SpeechSynthesisEvent>('mark')
const

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

EventStreamProvider<Event> pauseEvent = const EventStreamProvider<Event>('pause')
const

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

EventStreamProvider<SpeechSynthesisEvent> resumeEvent = const EventStreamProvider<SpeechSynthesisEvent>('resume')
const

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

EventStreamProvider<SpeechSynthesisEvent> startEvent = const EventStreamProvider<SpeechSynthesisEvent>('start')
const

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

Properties

lang String
read / write

on Events
read-only, inherited

This is an ease-of-use accessor for event streams which should only be used when an explicit accessor is not available.

onBoundary Stream<SpeechSynthesisEvent>
read-only

Stream of boundary events handled by this SpeechSynthesisUtterance.

onEnd Stream<SpeechSynthesisEvent>
read-only

Stream of end events handled by this SpeechSynthesisUtterance.

onError Stream<Event>
read-only

Stream of error events handled by this SpeechSynthesisUtterance.

onMark Stream<SpeechSynthesisEvent>
read-only

Stream of mark events handled by this SpeechSynthesisUtterance.

onPause Stream<Event>
read-only

Stream of pause events handled by this SpeechSynthesisUtterance.

onResume Stream<SpeechSynthesisEvent>
read-only

Stream of resume events handled by this SpeechSynthesisUtterance.

onStart Stream<SpeechSynthesisEvent>
read-only

Stream of start events handled by this SpeechSynthesisUtterance.

pitch num
read / write

rate num
read / write

text String
read / write

voice SpeechSynthesisVoice
read / write

volume num
read / write

Constructors

SpeechSynthesisUtterance([String text])

Methods

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

dispatchEvent(Event event) → bool
inherited

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