RootWidgetViewModel class
- Inheritance
-
- Object
- ChangeNotifier
- RootWidgetViewModel
Constructors
- RootWidgetViewModel(int engineId)
Properties
- currentContext → BuildContext?
-
no setter
- executor ↔ IRenderExecutor?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasListeners → bool
-
Whether any listeners are currently registered.
no setterinherited
- id → int
-
no setter
- isDebugMode ↔ bool
-
getter/setter pair
- loadErrCode → int
-
no setter
- loadError → bool
-
no setter
- loadFinish → bool
-
no setter
- onLoadCompleteListener ↔ OnLoadCompleteListener?
-
getter/setter pair
- onResumeAndPauseListener ↔ OnResumeAndPauseListener?
-
getter/setter pair
- reload ↔ Function?
-
getter/setter pair
- renderTree → RenderTree?
-
no setter
-
rootKey
→ GlobalKey<
State< StatefulWidget> > -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- timeMonitor ↔ TimeMonitor?
-
getter/setter pair
- viewExecutor ↔ IRenderExecutor
-
getter/setter pair
-
viewExecutorList
↔ List<
IRenderExecutor> -
getter/setter pair
Methods
-
addListener(
VoidCallback listener) → void -
Register a closure to be called when the object changes.
inherited
-
attachToEngine(
RenderContext< LoadInstanceContext> context) → void -
checkUpdateDimension(
int windowWidth, int windowHeight, bool shouldUseScreenDisplay, bool systemUiVisibilityChanged) → void -
destroy(
) → void -
dispose(
) → void -
Discards any resources used by the object. After this is called, the
object is not in a usable state and should be discarded (calls to
addListener will throw after the object is disposed).
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
notifyChange(
) → void -
notifyListeners(
) → void -
Call all the registered listeners.
inherited
-
onGlobalLayout(
) → void -
onLoadError(
int errCode) → void -
onPause(
) → void -
onResume(
) → void -
onViewAdd(
) → void -
removeListener(
VoidCallback listener) → void -
Remove a previously registered closure from the list of closures that are
notified when the object changes.
inherited
-
restart(
) → void -
toString(
) → String -
A string representation of this object.
inherited
-
updateRootSize(
) → void
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- sIdCounter ↔ int
-
getter/setter pair
Constants
- kRootViewTagIncrement → const int