@@ -331,6 +331,9 @@ class FormBuilderTextField extends FormBuilderFieldDecoration<String> {
331
331
/// enabled, [onTap] is called for every tap including consecutive taps.
332
332
final bool onTapAlwaysCalled;
333
333
334
+ /// {@macro flutter.widgets.editableText.stylusHandwritingEnabled}
335
+ final bool stylusHandwritingEnabled;
336
+
334
337
/// {@macro flutter.widgets.editableText.scribbleEnabled}
335
338
final bool scribbleEnabled;
336
339
@@ -436,7 +439,13 @@ class FormBuilderTextField extends FormBuilderFieldDecoration<String> {
436
439
this .groupId = EditableText ,
437
440
this .onAppPrivateCommand,
438
441
this .onTapAlwaysCalled = false ,
442
+ @Deprecated (
443
+ 'Use `stylusHandwritingEnabled` instead. '
444
+ 'This feature was deprecated after v3.27.0-0.2.pre.' ,
445
+ )
439
446
this .scribbleEnabled = true ,
447
+ this .stylusHandwritingEnabled =
448
+ EditableText .defaultStylusHandwritingEnabled,
440
449
this .selectionControls,
441
450
this .statesController,
442
451
this .undoController,
@@ -519,7 +528,7 @@ class FormBuilderTextField extends FormBuilderFieldDecoration<String> {
519
528
groupId: groupId,
520
529
onAppPrivateCommand: onAppPrivateCommand,
521
530
onTapAlwaysCalled: onTapAlwaysCalled,
522
- scribbleEnabled : scribbleEnabled ,
531
+ stylusHandwritingEnabled : stylusHandwritingEnabled ,
523
532
selectionControls: selectionControls,
524
533
statesController: statesController,
525
534
undoController: undoController,
0 commit comments