AppMVC class abstract

Main or first class to pass to the 'main.dart' file's runApp() function. AppStatefulWidget is its subclass.

Inheritance

Constructors

AppMVC({AppConMVC? con, Key? key})
Simple constructor. Calls the initApp() function.

Properties

con AppConMVC?
final
context BuildContext?
Most recent BuildContext/Element
no setter
controller ControllerMVC?
Get the controller if any
no setter
hashCode int
The hash code for this object.
no setterinherited
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

build(BuildContext context) Widget
Create the View!
createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() State<StatefulWidget>
Programmatically creates the App's State object.
override
debugDescribeChildren() List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
dispose() → void
Called in State object. Called when this State object will never build again. Note: THERE IS NO GUARANTEE THIS METHOD WILL RUN in the Framework.
initApp() → void
Initialize any immediate 'none time-consuming' operations at the very beginning.
initAsync() Future<bool>
Initialize any 'time-consuming' operations at the beginning. Initialize items essential to the Mobile Applications. Called by the MVCApp.init() function.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onError(FlutterErrorDetails details) → void
Override if you like to customize your error handling.
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) String
A string representation of this object.
inherited
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a string representation of this node and its descendants.
inherited
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a one-line detailed description of the object.
inherited
toStringShort() String
A short, textual description of this widget.
inherited

Operators

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

Static Properties

inDebugger bool
Determines if running in an IDE or in production. Returns true if the App is under in the Debugger and not production.
no setter

Static Methods

getState(String keyId) StateMVC<StatefulWidget>?
Returns a StateView object using a unique String identifier.
getStates(List<String> keys) Map<String, StateMVC<StatefulWidget>>
Returns a Map of StateView objects using unique String identifiers.
listStates(List<String> keys) List<StateMVC<StatefulWidget>>
Returns a List of StateView objects using unique String identifiers.