XFile class

A handle to a file on local disk. Minimal — path is the only guaranteed field. Returned from anything in package:ux that produces a file (camera capture today; future writers).

Constructors

XFile(String path)
Binds the handle to a path on local disk.
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
path → String
Absolute path on local disk. Readable through dart:io File. Lifetime is producer-defined — camera capture writes to a temp dir, the picker grant is held by the OS while the session is alive, etc.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited