CardObject class
An object that holds all of the relevant metadata for a card element.
Constructors
-
CardObject.complex(decorationPriority decorationVariant, String? cardLabel, String? cardBody, Map<
String, IconData> ? cardDetailCarousel, VoidCallback? cardAction) -
CardObject.complexIcon(decorationPriority decorationVariant, String? cardLabel, String? cardBody, IconData? cardIcon, Map<
String, IconData> ? cardDetailCarousel, VoidCallback? cardAction) - CardObject.detailed(decorationPriority decorationVariant, String? cardLabel, String? cardBody, VoidCallback? cardAction)
- CardObject.detailedIcon(decorationPriority decorationVariant, String? cardLabel, String? cardBody, IconData? cardIcon, VoidCallback? cardAction)
- CardObject.standard(decorationPriority decorationVariant, String? cardLabel, VoidCallback? cardAction)
- CardObject.standardIcon(decorationPriority decorationVariant, String? cardLabel, IconData? cardIcon, VoidCallback? cardAction)
Properties
- cardAction ↔ VoidCallback?
-
getter/setter pair
- cardBody ↔ String?
-
getter/setter pair
-
cardDetailCarousel
↔ Map<
String, IconData> ? -
getter/setter pair
- cardIcon ↔ IconData?
-
getter/setter pair
- cardLabel ↔ String?
-
getter/setter pair
- decorationVariant ↔ decorationPriority
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
filledCardObject(
{required cardType cardVariant, required CardObject cardData}) → Widget -
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