Inheritance
Annotations
  • @DocsEditable()
  • @DomName('FileReader')

Constants

abortEvent EventStreamProvider<ProgressEvent>

Static factory designed to expose abort events to event handlers that are not necessarily instances of FileReader.

@DocsEditable(), @DomName('FileReader.abortEvent')
DONE int

@DocsEditable(), @DomName('FileReader.DONE')
2
EMPTY int

@DocsEditable(), @DomName('FileReader.EMPTY')
0
errorEvent EventStreamProvider<Event>

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

@DocsEditable(), @DomName('FileReader.errorEvent')
const EventStreamProvider<Event>('error')
loadEndEvent EventStreamProvider<ProgressEvent>

Static factory designed to expose loadend events to event handlers that are not necessarily instances of FileReader.

@DocsEditable(), @DomName('FileReader.loadendEvent')
loadEvent EventStreamProvider<ProgressEvent>

Static factory designed to expose load events to event handlers that are not necessarily instances of FileReader.

@DocsEditable(), @DomName('FileReader.loadEvent')
LOADING int

@DocsEditable(), @DomName('FileReader.LOADING')
1
loadStartEvent EventStreamProvider<ProgressEvent>

Static factory designed to expose loadstart events to event handlers that are not necessarily instances of FileReader.

@DocsEditable(), @DomName('FileReader.loadstartEvent')
const EventStreamProvider<ProgressEvent>('loadstart')
progressEvent EventStreamProvider<ProgressEvent>

Static factory designed to expose progress events to event handlers that are not necessarily instances of FileReader.

@DocsEditable(), @DomName('FileReader.progressEvent')
const EventStreamProvider<ProgressEvent>('progress')

Static Properties

instanceRuntimeType Type

@Deprecated("Internal Use Only"), read-only

Constructors

FileReader()

factory
FileReader.internal_()

Properties

error FileError

@DocsEditable(), @DomName('FileReader.error'), read-only
onAbort Stream<ProgressEvent>

Stream of abort events handled by this FileReader.

@DocsEditable(), @DomName('FileReader.onabort'), read-only
onError Stream<Event>

Stream of error events handled by this FileReader.

@DocsEditable(), @DomName('FileReader.onerror'), read-only
onLoad Stream<ProgressEvent>

Stream of load events handled by this FileReader.

@DocsEditable(), @DomName('FileReader.onload'), read-only
onLoadEnd Stream<ProgressEvent>

Stream of loadend events handled by this FileReader.

@DocsEditable(), @DomName('FileReader.onloadend'), read-only
onLoadStart Stream<ProgressEvent>

Stream of loadstart events handled by this FileReader.

@DocsEditable(), @DomName('FileReader.onloadstart'), read-only
onProgress Stream<ProgressEvent>

Stream of progress events handled by this FileReader.

@DocsEditable(), @DomName('FileReader.onprogress'), read-only
readyState int

@DocsEditable(), @DomName('FileReader.readyState'), read-only
result Object

@DocsEditable(), @DomName('FileReader.result'), read-only
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

A representation of the runtime type of the object.

read-only, inherited

Operators

operator ==(other) bool

The equality operator.

inherited

Methods

abort() → void

@DocsEditable(), @DomName('FileReader.abort')
readAsArrayBuffer(Blob blob) → void

@DocsEditable(), @DomName('FileReader.readAsArrayBuffer')
readAsDataUrl(Blob blob) → void

@DocsEditable(), @DomName('FileReader.readAsDataURL')
readAsText(Blob blob, [ String label ]) → void

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 the result of the JavaScript objects toString method.

inherited