FFStackContainer class

线性布局

Inheritance

Constructors

FFStackContainer({Key? key, required List<Widget>? children, bool? reverseChildren, String? notes, Function? onClick, bool? unconstrainedBox, AlignmentGeometry? alignment, EdgeInsetsGeometry? margin, EdgeInsetsGeometry? padding, Color? color, Decoration? decoration, double? width, double? heigth, bool? hiddenKeepFrame, bool? hiddenClearFrame})

Properties

alignment ↔ AlignmentGeometry?
对齐方式
getter/setter pairinherited
children ↔ List<Widget>?
数组
getter/setter pair
color ↔ Color?
背景颜色
getter/setter pairinherited
decoration ↔ Decoration?
装饰
getter/setter pairinherited
hashCode → int
The hash code for this object.
no setterinherited
heigth ↔ double?
高
getter/setter pairinherited
hiddenClearFrame ↔ bool?
隐藏组件,并清除位置,默认值为false,优先级低于hiddenKeepFrame
getter/setter pairinherited
hiddenKeepFrame ↔ bool?
隐藏组件,但保留位置,默认值为false
getter/setter pairinherited
key → Key?
Controls how one widget replaces another widget in the tree.
finalinherited
margin ↔ EdgeInsetsGeometry?
外边框
getter/setter pairinherited
minClickIntervalMill ↔ int?
重复点击最少间隔,毫秒,默认值600
getter/setter pairinherited
notes ↔ String?
注释说明
getter/setter pairinherited
onClick ↔ Function?
点击事件
getter/setter pairinherited
onLongPress ↔ dynamic Function()?
长按事件
getter/setter pairinherited
padding ↔ EdgeInsetsGeometry?
内边框
getter/setter pairinherited
reverseChildren ↔ bool?
逆序
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
unconstrainedBox ↔ bool?
是否用UnconstrainedBox,默认false
getter/setter pairinherited
width ↔ double?
宽
getter/setter pairinherited

Methods

createElement() → StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() → State<StatefulWidget>
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
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