ImageContent class

An inline image content block.

Inheritance

Constructors

ImageContent({String? url, Uint8List? bytes, String? caption, double? aspectRatio})
const

Properties

aspectRatio → double?
Aspect ratio hint for layout (width / height). If null, intrinsic aspect ratio is used.
final
bytes → Uint8List?
Raw image bytes (e.g. screenshot, locally generated).
final
caption → String?
Optional caption displayed below the image.
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
url → String?
Network URL for the image.
final

Methods

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