ICUBaseFunction class
- Implementers
Constructors
Properties
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
buildWidget(
BuildContext context) → Widget - 返回UI控件 相当于setContentView()
-
clickAppBarBack(
) → void -
finish<
T extends Object> ([T result]) → void -
finishDartPageOrApp(
) → void - 关闭最后一个 flutter 页面 , 如果是原生跳过来的则回到原生,否则关闭app
-
getAppBar(
BuildContext context) → Widget -
getAppBarCenter(
BuildContext context) → Widget - 导航栏appBar中间部分 ,不满足可以自行重写
-
getAppBarHeight(
) → double - 返回appbar高度,也就是导航栏高度
-
getAppBarLeft(
BuildContext context) → Widget - 导航栏appBar左边部分 ,不满足可以自行重写
-
getAppBarRight(
BuildContext context) → Widget - 导航栏appBar右侧部分 ,不满足可以自行重写
-
getBaseView(
BuildContext context) → Widget -
getClassName(
) → String -
getErrorWidget(
BuildContext context) → Widget -
getLoadingWidget(
BuildContext context) → Widget -
getNoDataWidget(
BuildContext context) → Widget -
getScreenHeight(
) → double - 返回屏幕高度
-
getScreenWidth(
) → double - 返回屏幕宽度
-
getTopBar(
BuildContext context) → Widget - subclass can overwrite
-
getTopBarHeight(
) → double -
getWidgetName(
) → String -
initBaseCommon(
State< StatefulWidget> state) → void -
log(
String content) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
onBackground(
) → void - app切回到后台
-
onClickErrorWidget(
) → void -
onDestory(
) → void - 页面注销方法
-
onFetchData(
) → void - 只要页面来到栈顶, 都会调用此方法,网络请求可以放在这个方法
-
onForeground(
) → void - app切回到前台
-
onInitDatas(
) → void - 初始化一些变量
-
setAppBarBackColor(
Color color) → void - 默认这个导航栏下,设置颜色
-
setAppBarContentColor(
Color contentColor) → void - 设置导航栏的字体以及图标颜色
-
setAppBarTitle(
String title) → void -
setAppBarVisible(
bool isVisible) → void - 设置导航栏隐藏或者显示
-
setBackIconHiden(
{bool isHiden: true}) → void -
setPageStatus(
PageStatus status) → void - 设置页面状态
-
setTipTitle(
String title) → void - 设置tipTitle
-
setTopBarBackColor(
Color color) → void - 默认这个状态栏下,设置颜色
-
setTopBarVisible(
bool isVisible) → void - 设置状态栏隐藏或者显示
-
toString(
) → String -
Returns a string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited