IosPlatformImages class

Class to help loading of iOS platform images into Flutter.

For example, loading an image that is in Assets.xcassts.

Constructors

IosPlatformImages()

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

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

Static Methods

load(String name) ImageProvider<Object>
Loads an image from asset catalogs. The equivalent would be: [UIImage imageNamed:name].
resolveURL(String name, {String? extension}) Future<String?>
Resolves an URL for a resource. The equivalent would be: [[NSBundle mainBundle] URLForResource:name withExtension:ext].