BasePage<T extends BaseController<BaseModel> , M extends BaseModel> class
abstract
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- BasePage
- Implemented types
-
- GetXInterface<
T, M> - PageInterface
- GetXInterface<
- Implementers
Properties
- appBar → Widget?
-
no setteroverride
- appBarHeight → double
-
no setteroverride
- backgroundColor → Color
-
no setteroverride
- binding → T
-
no setterinherited
- body → Widget
-
no setterinherited
- bottomBar → Widget?
-
no setteroverride
- controller → T
-
no setteroverride
- enableWillPop → bool
-
no setteroverride
- extendBody → bool
-
no setteroverride
- extendBodyBehindAppBar → bool
-
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- model → M
-
no setteroverride
- permanentController → bool
-
no setteroverride
- resizeToAvoidBottomInset → bool
-
no setteroverride
- reuseController → bool
-
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scaffold → Widget
-
no setteroverride
- statusBody → Widget
-
no setteroverride
- tag → String?
-
no setteroverride
- tagRepeat → String?
-
no setteroverride
- tagSymbol → String
-
no setteroverride
Methods
-
build(
BuildContext context) → Widget -
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → State< BasePage< BaseController< >BaseModel> , BaseModel> -
Creates the mutable state for this widget at a given location in the tree.
override
-
debugDescribeChildren(
) → List< DiagnosticsNode> -
Returns a list of DiagnosticsNode objects describing this node's
children.
inherited
-
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
inherited
-
init(
) → void -
initRepeatTag(
String? tag) → void - 满足以下条件时使用,为了防止热重载而导致GlobalKey被重复使用: 1.页面需要重复跳转 且reuseController为false 2.页面中引用了controller或者model中声明且已经创建的GlobalKey对象
-
initTabController(
TickerProvider vsync) → void - 仅在 createState 为 TabControllerState 时使用
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
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
-
toStringDeep(
{String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug, int wrapWidth = 65}) → String -
Returns a string representation of this node and its descendants.
inherited
-
toStringShallow(
{String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String -
Returns a one-line detailed description of the object.
inherited
-
toStringShort(
) → String -
A short, textual description of this widget.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited