Image class
A PageElement kind representing an image.
Constructors
- Image({String? contentUrl, ImageProperties? imageProperties, Placeholder? placeholder, String? sourceUrl})
- Image.fromJson(Map json_)
Properties
- contentUrl ↔ String?
-
An URL to an image with a default lifetime of 30 minutes.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- imageProperties ↔ ImageProperties?
-
The properties of the image.
getter/setter pair
- placeholder ↔ Placeholder?
-
Placeholders are page elements that inherit from corresponding
placeholders on layouts and masters.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sourceUrl ↔ String?
-
The source URL is the URL used to insert the image.
getter/setter pair
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