NormalState<T extends StatefulWidget> class
abstract
- Inheritance
-
- Mixed in types
-
Methods
-
activate()
→ void
-
Called when this object is reinserted into the tree after having been
removed via deactivate.
inherited
-
build(BuildContext context)
→ Widget
-
界面构建视图入口
override
-
configgoback(BuildContext context)
→ dynamic
-
执行返回界面
inherited
-
configlayoutbuiderConstraints(BoxConstraints constraints)
→ dynamic
-
获取 屏幕 最大尺寸
-
configleadingCallbak(BuildContext context)
→ dynamic
-
点击通用返回按钮点击事件
inherited
-
configNetWorkParmas()
→ Map<String, dynamic>?
-
创建视图
override
-
configsetState(VoidCallback fn)
→ void
-
通用刷新state
-
configSizeBoxWidth(BoxConstraints constraints)
→ double?
-
-
createAppBar(BuildContext context, {Color? navbackcolor, String? title})
→ PreferredSize?
-
创建导航栏
inherited
-
createAppBaractions()
→ List<Widget>?
-
创建导航栏 右边按钮集合
inherited
-
createAppBarBottomWidget()
→ PreferredSizeWidget?
-
创建AppBar bottom
inherited
-
createAppBarleading()
→ Widget?
-
重写返回按钮控件
inherited
-
createAppBarTextColor()
→ Color?
-
设置默认 title 字体颜色
inherited
-
createAppBarTitleWidget()
→ Widget?
-
自定义appBar title
inherited
-
createBody(BuildContext context)
→ Widget
-
创建真实body
inherited
-
createColumWidget(BuildContext context)
→ Widget
-
创建界面Colum
override
-
createCommBaseWidget(BuildContext context, PageState pageState)
→ Widget
-
创建通用站位界面
inherited
-
createErrorWidget()
→ Widget?
-
创建失败 界面
inherited
-
创建头部
inherited
-
createLeadingIconColor()
→ Color?
-
设置系统返回按钮 icon 颜色
inherited
-
createonlyColumWidget(BuildContext context)
→ Widget
-
getx 真实包裹的colum 方法
-
createSafeArea(BuildContext context, bool safeAreatop, bool safeAreabottm, PageState pageState)
→ Widget
-
创建safe
inherited
-
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
inherited
-
deactivate()
→ void
-
Called when this object is removed from the tree.
inherited
-
debugFillProperties(DiagnosticPropertiesBuilder properties)
→ void
-
Add additional properties associated with the node.
inherited
-
didChangeDependencies()
→ void
-
Called when a dependency of this State object changes.
inherited
-
didUpdateWidget(covariant T oldWidget)
→ void
-
Called whenever the widget configuration changes.
inherited
-
dispose()
→ void
-
Called when this object is removed from the tree permanently.
override
-
getnetworkdata(int? type, Map<String, dynamic>? info)
→ void
-
网络请求
override
-
initDefaultDispose()
→ void
-
界面销毁
-
initDefaultState()
→ void
-
界面进入
-
initState()
→ void
-
生命周期
override
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
reassemble()
→ void
-
Called whenever the application is reassembled during debugging, for
example during hot reload.
inherited
-
setState(VoidCallback fn)
→ void
-
Notify the framework that the internal state of this object has changed.
inherited
-
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style})
→ DiagnosticsNode
-
Returns a debug representation of the object that is used by debugging
tools and by DiagnosticsNode.toStringDeep.
inherited
-
toString({DiagnosticLevel minLevel = DiagnosticLevel.info})
→ String
-
A string representation of this object.
inherited
-
toStringShort()
→ String
-
A brief description of this object, usually just the runtimeType and the
hashCode.
inherited