ImageBlock class
Displays an image. An image block, designed to make those cat photos really pop.
Constructors
- ImageBlock({required String imageUrl, required String altText, String? title})
Properties
- altText → String
-
A plain-text summary of the image.
Maximum length for this field is 2000 characters.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- imageUrl → String
-
The URL of the image to be displayed.
Maximum length for this field is 3000 characters.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- title → String?
-
An optional title for the image.
Maximum length for this field is 2000 characters.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited