AppStartAction<S> class abstract

Constructors

AppStartAction()
const

Properties

hashCode int
The hash code for this object.
no setterinherited
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
onLoaded(BuildContext context, int cost, S state) → void
初始化加载成功 可在回调中获得异步加载的 App 配置数据处理 并做一些首页预加载的逻辑
onStartError(BuildContext context, Object error, StackTrace trace) → void
初始化加载失败 可跳转失败界面, 引导用户处理启动异常
onStartSuccess(BuildContext context) → void
初始化成功,且达到最低延迟毫秒数 可跳转应用主界面,正常使用应用
toString() String
A string representation of this object.
inherited

Operators

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