FormNumFieldPicker class

Class that defines a picker style for selecting numbers.

begin < end and interval must be greater than 0.

数値を選択するためのピッカースタイルを定義するクラス。

begin < endである必要があり、intervalは0より大きい値を指定する必要があります。

Available Extensions

Constructors

FormNumFieldPicker({num? defaultValue, num begin = 0, num interval = 1, num end = 100, String suffix = "", Color? backgroundColor, int fractionDigits = 0, Color? color, String confirmText = "Confirm", String cancelText = "Cancel"})
Class that defines a picker style for selecting numbers.
const

Properties

backgroundColor Color?
Background color of the picker.
final
begin num
The smallest value to be selected.
final
cancelText String
Text of the button to cancel the picker.
final
color Color?
Foreground view of the picker.
final
confirmText String
Text of the button that confirms the picker's content.
final
defaultValue num?
Default value when not selected.
final
end num
The highest value of the number to be selected.
final
fractionDigits int
Number of decimal places.
final
hashCode int
The hash code for this object.
no setterinherited
interval num
Interval of the value to be selected.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
suffix String
Suffix of values.
final

Methods

build(BuildContext context, num? currentValue) Future<num?>
Build the picker.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited