Image class

An image that's specified by a URL and can have an onclick action.

Constructors

Image({double? aspectRatio, String? imageUrl, OnClick? onClick})
Image.fromJson(Map json_)

Properties

aspectRatio double?
The aspect ratio of this image (width and height).
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
imageUrl String?
The URL of the image.
getter/setter pair
onClick OnClick?
The onclick action.
getter/setter pair
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
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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