OudsListItemLeadingFlag class

Leading flag slot — renders an OudsFlag on the leading side of the row.

Pass a pre-configured OudsFlag instance with the desired country code and size. The flag size is automatically constrained to match the list item token dimensions, so prefer OudsFlagSize.small or OudsFlagSize.medium here.

Example:

OudsListItemLeadingFlag(OudsFlag('fr'))
OudsListItemLeadingFlag(OudsFlag('us', semanticsLabel: 'United States flag'))
Inheritance

Constructors

OudsListItemLeadingFlag(OudsFlag flag)
Creates a leading flag configuration.
const

Properties

flag OudsFlag
The flag widget to display.
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