SummaryCard class Null safety

Constructors

SummaryCard(dynamic _product, dynamic _productPreferences, {bool isFullVersion = false, bool showUnansweredQuestions = false, dynamic refreshProductCallback(dynamic)?, bool isRemovable = true})
const

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
isFullVersion bool
If false, the card will be clipped to a smaller version so it can fit on smaller screens. It should only be clickable in the full / in product page version Buttons should only be visible in full mode
final
isRemovable bool
If true, there will be a button to remove the product from the carousel.
final
refreshProductCallback → (dynamic Function?(dynamic)?)
Callback to refresh the product when necessary.
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
showUnansweredQuestions bool
If true, the summary card will try to load unanswered questions about this product and give a prompt to answer those questions.
final

Methods

createState() → dynamic
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited