NormalState<T extends StatefulWidget> class abstract

Inheritance
Mixed in types

Constructors

NormalState()

Properties

backgroundColor Color?
背景颜色
finalinherited
context BuildContext
The location in the tree where this widget builds.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
mounted bool
Whether this State object is currently in a tree.
no setterinherited
导航栏颜色
finalinherited
pageState PageState
网络加载状态
finalinherited
resizeToAvoidBottomInset bool?
是否显示 加载动画 默认不显示 滚动属性
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
safeAreabottm bool
默认安全区底部 忽略
finalinherited
safeAreatop bool
默认安全区顶部 忽略
finalinherited
title String?
导航栏标题
finalinherited
widget → T
The current configuration.
no setterinherited

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
createHeaderWidget() Widget
创建头部
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

Operators

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