InfoItem class
A default implementation of InfoItemBase
- Inheritance
-
- Object
- InfoItemBase
- InfoItem
Constructors
- InfoItem.new({required String title, required String subtitle, IconData? icon, IconData? trailingIcon, VoidCallback? onTap})
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- icon → IconData?
-
Optional icon for the info item
final
- onTap → VoidCallback?
-
Optional onTap callback
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- subtitle → String
-
The subtitle of the info item
final
- title → String
-
The title of the info item
final
- trailingIcon → IconData?
-
Optional trailing icon for the info item
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