FormDurationFieldPicker class
Class that defines the picker style for selecting spacing.
間隔を選択するためのピッカースタイルを定義するクラス。
- Annotations
Constructors
- FormDurationFieldPicker({Duration? defaultDuration, String minuteSuffix = "", String secondSuffix = "", String hourSuffix = "", String daySuffix = "", Color? backgroundColor, Color? color, Duration? begin, Duration? end, String confirmText = "Confirm", String cancelText = "Cancel"})
-
Class that defines the picker style for selecting spacing.
const
Properties
- backgroundColor → Color?
-
Background color of the picker.
final
- begin → Duration?
-
Specifies the initial interval at which to make the selection.
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
- daySuffix → String
-
Suffix of the Day.
final
- defaultDuration → Duration?
-
Default value when not selected.
final
- end → Duration?
-
Specifies the last interval to be selected.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- hourSuffix → String
-
Suffix of the Hour.
final
- minuteSuffix → String
-
Suffix of the Minute.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- secondSuffix → String
-
Suffix of the Second.
final
Methods
-
build(
BuildContext context, Duration? currentDuration) → Future< Duration?> - 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