SeniorListItem class
Constructors
- SeniorListItem({IconData? icon, Color? iconColor, Color? iconBackground, VoidCallback? onTap, IconData? rightIcon, String? rightLabel, String? subtitle, String? title, ItemType type = ItemType.neutral})
-
The information for creating a list item.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- icon → IconData?
-
The icon that will appear in the list item.
final
- iconBackground → Color?
-
The background color that will be added to the icon background.
If a value is not informed for this parameter, no color will be added.
final
- iconColor → Color?
-
The icon color for the list items.
final
- onTap → VoidCallback?
-
Callback function that is called when the list item is tapped.
final
- rightIcon → IconData?
-
The icon to the right of the list item.
When informing this parameter, no value can be informed for the rightLabel parameter.
final
- rightLabel → String?
-
Label displayed to the right of the title.
When informing this parameter, no value can be informed for the rightIcon parameter.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- subtitle → String?
-
The subtitle of the list item.
final
- title → String?
-
The title of the list item.
final
- type → ItemType
-
The type of the list item. It can be ItemType.emphasis, ItemType.emphasisBold, ItemType.neutral and
ItemType.neutralBold.
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