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
-
- Object
- OudsListItemLeading
- OudsListItemLeadingFlag
Constructors
- OudsListItemLeadingFlag(OudsFlag flag)
-
Creates a leading flag configuration.
const
Properties
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