FormImageBlock class
An image content block.
Constructors
Properties
- alt → String?
-
Alternative text for the image.
final
- aspectRatio → double?
-
Aspect ratio (width / height).
final
- blockId → String
-
Unique block identifier.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
Block ordering index.
finalinherited
- maxWidth → double?
-
Maximum width in logical pixels.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- src → String
-
Image source URL or path.
final
-
style
→ Map<
String, dynamic> ? -
Optional style properties.
finalinherited
- type → FormBlockType
-
Type of this block.
finalinherited
Methods
-
baseToJson(
) → Map< String, dynamic> -
Serialize common base fields to a map.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Convert to JSON.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited