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.

DONE int

2
EMPTY int

0
errorEvent EventStreamProvider<Event>

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

const EventStreamProvider<Event>('error')
loadEndEvent EventStreamProvider<ProgressEvent>

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

loadEvent EventStreamProvider<ProgressEvent>

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

LOADING int

1
loadStartEvent EventStreamProvider<ProgressEvent>

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

const EventStreamProvider<ProgressEvent>('loadstart')
progressEvent EventStreamProvider<ProgressEvent>

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

const EventStreamProvider<ProgressEvent>('progress')

Static Properties

instanceRuntimeType Type

read-only

Constructors

FileReader()

factory
FileReader.internal_()

Properties

error FileError

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
onAbort Stream<ProgressEvent>

Stream of abort events handled by this FileReader.

read-only
onError Stream<Event>

Stream of error events handled by this FileReader.

read-only
onLoad Stream<ProgressEvent>

Stream of load events handled by this FileReader.

read-only
onLoadEnd Stream<ProgressEvent>

Stream of loadend events handled by this FileReader.

read-only
onLoadStart Stream<ProgressEvent>

Stream of loadstart events handled by this FileReader.

read-only
onProgress Stream<ProgressEvent>

Stream of progress events handled by this FileReader.

read-only
readyState int

read-only
result Object

read-only
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

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
readAsArrayBuffer(Blob blob) → void

readAsDataUrl(Blob blob) → void

readAsText(Blob blob, [String label]) → void

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

inherited
toString() String

Returns the result of the JavaScript objects toString method.

inherited