ModelMVC class

This class is to be concerned with the data It is accessed by the Controller but can call setState() as well.

Inheritance

Constructors

ModelMVC([StateMVC<StatefulWidget>? state])

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
states Set<StateMVC<StatefulWidget>>
Return a 'copy' of the Set of State objects.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
notifyListeners() → void
For those accustom to the 'Provider' approach.
inherited
ofState<T extends State<StatefulWidget>>() → T?
Retrieve the State object by type Returns null if not found
inherited
pushState(StateMVC<StatefulWidget>? state) bool
Push the StateMVC object to a Set of such objects Internal use only: This connects the Controller to this View!
inherited
rebuild() → void
Allow for a more accurate description
inherited
refresh() → void
Allows external classes to 'refresh' or 'rebuild' the widget tree.
inherited
removeState(StateMVC<StatefulWidget>? state) bool
Remove the specified StateMVC object to a Set of such objects Internal use only: This disconnects the Controller to this View!
inherited
setState(VoidCallback fn) → void
Provide the setState() function to external actors
inherited
toString() String
A string representation of this object.
inherited

Operators

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