CardModel class
Model for CardPage
- Inheritance
-
- Object
- Listenable
- Model
- CardModel
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- listenerCount → int
-
Returns the number of listeners listening to this model.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addListener(
VoidCallback listener) → void -
listener
will be invoked when the model changes.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
notifyListeners(
) → void -
Should be called only by Model when the model has changed.
inherited
-
removeListener(
VoidCallback listener) → void -
listener
will no longer be invoked when the model changes.inherited -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
of(
BuildContext context) → CardModel - Get ScopedModel