AtLayoutHeader class

Inheritance
Implemented types

Constructors

AtLayoutHeader({Key key, String title, Widget child, Widget addonBefore, Widget addonAfter, Widget addonBottom, bool headline: false, AtBorder border: AtBorder.Shadow, Color color: AtColors.textColor, Color backgroundColor: const Color(0xFFFFFFFF), VoidCallback onBackPressed, VoidCallback onClosePressed, Brightness brightness: Brightness.dark, bool visible: true, bool ghost: false})

Properties

addonAfter Widget
final
addonBefore Widget
final
addonBottom Widget
final
backgroundColor Color
final
border AtBorder
header下方那条边的样式 可以是 AtBorder.None AtBorder.Shadow AtBorder.Line 的一种
final
brightness Brightness
final
child Widget
添加一个widget,用于自定义内容,但权重没有title高 即:有title属性时,child的设置将会无效
final
color Color
final
ghost bool
透明头,即头部底色为透明,title和按钮为白色的那种 一般需要和 positioned 属性一起使用
final
hashCode int
The hash code for this object. [...]
@nonVirtual, read-only, inherited
headline bool
final
key Key
Controls how one widget replaces another widget in the tree. [...]
final, inherited
onBackPressed VoidCallback
final
onClosePressed VoidCallback
final
preferredSize Size
The size this widget would prefer if it were otherwise unconstrained. [...]
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
title String
final
visible bool
final

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree. [...]
inherited
createState() → _AtLayoutHeaderState
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. [...]
@protected, inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node. [...]
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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
Returns a string representation of this object.
inherited
toStringDeep({String prefixLineOne: '', String prefixOtherLines, DiagnosticLevel minLevel: DiagnosticLevel.debug}) 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. [...]
@nonVirtual, inherited