Not documented.

Annotations
  • DocsEditable()
  • DomName('FileReader')
Extends

Constants

EventStreamProvider<ProgressEvent> abortEvent = const EventStreamProvider<ProgressEvent>('abort')
const
Static factory designed to expose abort events to event handlers that are not necessarily instances of FileReader.
int DONE = 2
const
int EMPTY = 0
const
EventStreamProvider<Event> errorEvent = const EventStreamProvider<Event>('error')
const
Static factory designed to expose error events to event handlers that are not necessarily instances of FileReader.
EventStreamProvider<ProgressEvent> loadEndEvent = const EventStreamProvider<ProgressEvent>('loadend')
const
Static factory designed to expose loadend events to event handlers that are not necessarily instances of FileReader.
EventStreamProvider<ProgressEvent> loadEvent = const EventStreamProvider<ProgressEvent>('load')
const
Static factory designed to expose load events to event handlers that are not necessarily instances of FileReader.
int LOADING = 1
const
EventStreamProvider<ProgressEvent> loadStartEvent = const EventStreamProvider<ProgressEvent>('loadstart')
const
Static factory designed to expose loadstart events to event handlers that are not necessarily instances of FileReader.
EventStreamProvider<ProgressEvent> progressEvent = const EventStreamProvider<ProgressEvent>('progress')
const
Static factory designed to expose progress events to event handlers that are not necessarily instances of FileReader.

Properties

FileError error
read-only
Events on
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.
Stream<ProgressEvent> onAbort
read-only
Stream of abort events handled by this FileReader.
Stream<Event> onError
read-only
Stream of error events handled by this FileReader.
Stream<ProgressEvent> onLoad
read-only
Stream of load events handled by this FileReader.
Stream<ProgressEvent> onLoadEnd
read-only
Stream of loadend events handled by this FileReader.
Stream<ProgressEvent> onLoadStart
read-only
Stream of loadstart events handled by this FileReader.
Stream<ProgressEvent> onProgress
read-only
Stream of progress events handled by this FileReader.
int readyState
read-only
Object result
read-only

Constructors

FileReader()

Methods

abort() → void
addEventListener(String type, dynamic listener(Event event), [bool useCapture]) → void
inherited
dispatchEvent(Event event) → bool
inherited
readAsArrayBuffer(Blob blob) → void
readAsDataUrl(Blob blob) → void
readAsText(Blob blob, [String encoding]) → void
removeEventListener(String type, dynamic listener(Event event), [bool useCapture]) → void
inherited