ImageService class

Utility for copying a Flutter asset image to a temporary file so that the native Android layer can read it from the file system.

Constructors

ImageService()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getImageFileFromAssets(String assetPath) Future<File>
Copies the asset at assetPath to the device's temporary directory and returns the resulting File.
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