ImageData class
Data used to render an image.
- Annotations
Constructors
-
ImageData({required ImageProvider<
Object> image, String? alt}) -
Create an image data object.
const
Properties
- alt → String?
-
Alt text for the image for accessibility.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
image
→ ImageProvider<
Object> -
Provider of the image.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{ImageProvider< Object> ? image, String? alt}) → ImageData - Create a copy of this object with the given fields overriden.
-
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