Skip to content

Commit e6c9f03

Browse files
committed
Updated defaults to match TouchSpin.
1 parent 66ebb93 commit e6c9f03

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/src/fields/form_builder_touch_spin.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,9 @@ class FormBuilderTouchSpin extends FormBuilderField<double> {
5757
AutovalidateMode autovalidateMode = AutovalidateMode.disabled,
5858
VoidCallback onReset,
5959
FocusNode focusNode,
60-
this.step,
61-
this.min = 1,
62-
this.max = 9999,
60+
this.step = 1.0,
61+
this.min = 1.0,
62+
this.max = 9999999.0,
6363
this.iconSize = 24.0,
6464
this.displayFormat,
6565
this.subtractIcon = const Icon(Icons.remove),

0 commit comments

Comments
 (0)