OudsSmallListItemTrailingImage class
Trailing image slot for OudsSmallListItem.
Always rendered at OudsListItemAssetSize.small.
Example:
OudsSmallListItemTrailingImage(asset: 'assets/photo.jpg')
- Inheritance
-
- Object
- OudsSmallListItemTrailing
- OudsSmallListItemTrailingImage
Constructors
- OudsSmallListItemTrailingImage({required String asset, String? contentDescription, OudsListItemImageFormat format = OudsListItemImageFormat.square})
-
Creates a compact trailing image configuration.
const
Properties
- asset → String
-
Path to the image asset (raster or SVG).
final
- contentDescription → String?
-
Accessibility description of the image for screen readers.
final
- format → OudsListItemImageFormat
-
Aspect-ratio format. Defaults to
OudsListItemImageFormat.square.final - hashCode → int
-
The hash code for this object.
no setterinherited
- 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
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited