ViewKoreInstance mixin

Mixin with lifecycle methods shared by view models and independent views

Utility mixins like FormViewModelMixin are applied on this mixin, so they can be used with both BaseViewModel and BaseIndependentView

This mixin is not generic on purpose - type arguments of generic mixins are not inferred through type aliases like FormViewMixin

Mixin applications

Properties

disposeOperations → List<Function>
List of operations that will be executed with dispose call
no setter
hashCode → int
The hash code for this object.
no setterinherited
isDisposed → bool
Flag indicating that this instance is disposed
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onFirstFrame() → void
Function to be executed after first frame with WidgetsBinding.instance.addPostFrameCallback
onLaunch() → void
Function to be executed after State.initState when dependencies are initialized
removeInputFocus() → void
Utility function to remove input focus for current view
toString() → String
A string representation of this object.
inherited

Operators

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