Not documented.

Annotations
  • DocsEditable()
  • DomName('FileWriter')
  • Experimental()
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 FileWriter.
int DONE = 2
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 FileWriter.
int INIT = 0
const
EventStreamProvider<ProgressEvent> progressEvent = const EventStreamProvider<ProgressEvent>('progress')
const
Static factory designed to expose progress events to event handlers that are not necessarily instances of FileWriter.
EventStreamProvider<ProgressEvent> writeEndEvent = const EventStreamProvider<ProgressEvent>('writeend')
const
Static factory designed to expose writeend events to event handlers that are not necessarily instances of FileWriter.
EventStreamProvider<ProgressEvent> writeEvent = const EventStreamProvider<ProgressEvent>('write')
const
Static factory designed to expose write events to event handlers that are not necessarily instances of FileWriter.
EventStreamProvider<ProgressEvent> writeStartEvent = const EventStreamProvider<ProgressEvent>('writestart')
const
Static factory designed to expose writestart events to event handlers that are not necessarily instances of FileWriter.
int WRITING = 1
const

Properties

FileError error
read-only
int length
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 FileWriter.
Stream<Event> onError
read-only
Stream of error events handled by this FileWriter.
Stream<ProgressEvent> onProgress
read-only
Stream of progress events handled by this FileWriter.
Stream<ProgressEvent> onWrite
read-only
Stream of write events handled by this FileWriter.
Stream<ProgressEvent> onWriteEnd
read-only
Stream of writeend events handled by this FileWriter.
Stream<ProgressEvent> onWriteStart
read-only
Stream of writestart events handled by this FileWriter.
int position
read-only
int readyState
read-only

Methods

abort() → void
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
seek(int position) → void
truncate(int size) → void
write(Blob data) → void