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