UIImage class

Class that represents an object that manages iOS image data in your app.

Check UIKit.UIImage for more details.

Supported Platforms/Implementations:

  • iOS

Constructors

UIImage({String? name, String? systemName, Uint8List? data})

Properties

data Uint8List?
The data object containing the image data.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
name String?
The name of the image asset or file.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
systemName String?
The name of the system symbol image.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts instance to a map.
toMap() Map<String, dynamic>
Converts instance to a map.
toString() String
A string representation of this object.
override

Operators

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

Static Methods

fromMap(Map<String, dynamic>? map) UIImage?
Gets a possible UIImage instance from a Map value.