FFGestureDetector class

点击控件

Inheritance
Implementers

Constructors

FFGestureDetector.new({Key? key, String? notes, Function? onClick, bool? unconstrainedBox = false, AlignmentGeometry? alignment = Alignment.topLeft, EdgeInsetsGeometry? margin, EdgeInsetsGeometry? padding, Color? color, Decoration? decoration, double? width, double? heigth, bool? hiddenKeepFrame = false, bool? hiddenClearFrame = false})

Properties

alignment AlignmentGeometry?
对齐方式
getter/setter pair
color Color?
背景颜色
getter/setter pair
decoration Decoration?
装饰
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
heigth double?
getter/setter pair
hiddenClearFrame bool?
隐藏组件,并清除位置,默认值为false,优先级低于hiddenKeepFrame
getter/setter pair
hiddenKeepFrame bool?
隐藏组件,但保留位置,默认值为false
getter/setter pair
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
margin EdgeInsetsGeometry?
外边框
getter/setter pair
notes String?
注释说明
getter/setter pairoverride
onClick Function?
点击事件
getter/setter pair
padding EdgeInsetsGeometry?
内边框
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
unconstrainedBox bool?
是否用 UnconstrainedBox包括,默认false
getter/setter pair
width double?
getter/setter pair

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.
inherited
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