GTFStepper class
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- GTFStepper
Constructors
- GTFStepper({Key? key, double height = 32.0, double width = 66.0, double iconWidth = 32.0, EdgeInsets padding = EdgeInsets.zero, double defaultValue = 0, double amplitude = 1, double minimumValue = 0, double maximumValue = 9999999, GTFStepperStyle style = GTFStepperStyle.border, GTFStepperNumType numType = GTFStepperNumType.int, bool canEnter = true, bool readOnly = false, String addImage = "packages/gtech_flutter_ui/assets/images/gtf_stepper_add.png", String subImage = "packages/gtech_flutter_ui/assets/images/gtf_stepper_sub.png", String addUnEnableImage = "packages/gtech_flutter_ui/assets/images/gtf_stepper_add_unenable.png", String subUnEnableImage = "packages/gtech_flutter_ui/assets/images/gtf_stepper_sub_unenable.png", ValueChanged? addValueChanged, ValueChanged? subValueChanged, ValueChanged? updateValueChanged})
Properties
- addImage → String
-
addImage:加号图片
final
- addUnEnableImage → String
-
addUnenableImage:加号不可点击图片
final
- addValueChanged → ValueChanged?
-
addValueChanged:增加回调
final
- amplitude → double
-
amplitude:加减的幅度
final
- canEnter → bool
-
canEnter:是否可以手动输入
final
- defaultValue → double
-
defaultValue:输入框默认数量
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → double
-
height:输入框高度
final
- iconWidth → double
-
iconWidth:按钮宽度
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- maximumValue → double
-
maximumValue:最大值
final
- minimumValue → double
-
minimumValue:最小值
final
- numType → GTFStepperNumType
-
numType:输入框是整数还是浮点数
final
- padding → EdgeInsets
-
padding:输入框内边距
final
- readOnly → bool
-
readOnly:制度模式
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- style → GTFStepperStyle
-
style:stepper样式
final
- subImage → String
-
subImage:减号图片
final
- subUnEnableImage → String
-
subUnenableImage:加号不可点击图片
final
- subValueChanged → ValueChanged?
-
subValueChanged:减少回调
final
- updateValueChanged → ValueChanged?
-
updateValueChanged:数量改变回调
final
- width → double
-
width:输入框宽度
final
Methods
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → State< GTFStepper> -
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