ViewModelFactory class abstract
Describes how to construct the ViewModels in your app
Typically there is just one implmenentation of this per application Use the ViewModelFactoryProvider to supply the factory down the Widget tree
Constructors
- ViewModelFactory()
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
create<
T extends ViewModel> () → T -
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