CharacterCollectionItem class

Caller-supplied character presentation and unlock/selection state.

Annotations

Constructors

CharacterCollectionItem({required String id, required String name, required ItemRarity rarity, required bool isOwned, bool isSelected = false, Widget? avatar})
const

Properties

avatar → Widget?
final
hashCode → int
The hash code for this object.
no setterinherited
id → String
final
isOwned → bool
final
isSelected → bool
final
name → String
final
rarity → ItemRarity
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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