AViewModel class

需要监听StatefulWidget生命周期的地方

Inheritance

Constructors

AViewModel()

Properties

controller ScrollController
需要释放的资源
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

destroy() → void
销毁/释放资源
initData() → void
初始化数据
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onLifecycleChanged(LifecycleOwner owner, LifecycleState state) → void
生命周期回调监听
override
toString() String
A string representation of this object.
inherited

Operators

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