AbstractWidget class abstract

Implementers

Constructors

AbstractWidget()

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

configgoback(BuildContext context) → dynamic
执行返回界面
configleadingCallbak(BuildContext context) → dynamic
点击通用返回按钮点击事件
createAppBar(BuildContext context, {Color? navbackcolor, String? title}) → PreferredSize?
创建导航栏
createAppBaractions() → List<Widget>?
创建导航栏 右边按钮集合
createAppBarBottomWidget() → PreferredSizeWidget?
创建AppBar bottom
createAppBarleading() → Widget?
重写返回按钮控件
createAppBarTextColor() → Color?
设置默认 title 字体颜色
createAppBarTitleWidget() → Widget?
自定义appBar title
createBody(BuildContext context) → Widget
创建真实body
createColumWidget(BuildContext context) → Widget
创建界面Colum
createCommBaseWidget(BuildContext context, PageState pageState) → Widget
创建通用站位界面
createErrorWidget() → Widget?
创建失败 界面
createHeaderWidget() → Widget
创建头部
createLeadingIconColor() → Color?
设置系统返回按钮 icon 颜色
createSafeArea(BuildContext context, bool safeAreatop, bool safeAreabottm, PageState pageState) → Widget
创建safe
createScaffol({required BuildContext context, required bool safeAreatop, required bool safeAreabottm, required PageState pageState, required String? title, required Color? backgroundColor, required Color? navbackcolor, required bool? resizeToAvoidBottomInset}) → Widget
创建scaffoll
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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