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.…

const const EventStreamProvider<ProgressEvent>('abort')
DONE → int

const 2
EMPTY → int

const 0
errorEvent → EventStreamProvider<Event>

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

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

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

const const EventStreamProvider<ProgressEvent>('loadend')
loadEvent → EventStreamProvider<ProgressEvent>

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

const const EventStreamProvider<ProgressEvent>('load')
LOADING → int

const 1
loadStartEvent → EventStreamProvider<ProgressEvent>

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

const 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 const EventStreamProvider<ProgressEvent>('progress')

Static Methods

internalCreateFileReader() → FileReader

Constructors

FileReader()

factory
FileReader.internal_()

Properties

The underlying JS DOM object.

read / write, inherited
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 encoding]) → void

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

inherited
toString() → String

Returns a string representation of this object.

inherited