Skip to content

Commit 186d9e7

Browse files
feat: add contentInsertionConfiguration property
1 parent 761cee3 commit 186d9e7

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lib/src/fields/form_builder_cupertino_text_field.dart

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,9 @@ class FormBuilderCupertinoTextField extends FormBuilderField<String> {
274274
/// Defaults to never appearing and cannot be null.
275275
final OverlayVisibilityMode clearButtonMode;
276276

277+
/// {@macro flutter.widgets.editableText.contentInsertionConfiguration}
278+
final ContentInsertionConfiguration? contentInsertionConfiguration;
279+
277280
FormBuilderCupertinoTextField({
278281
super.key,
279282
required super.name,
@@ -338,6 +341,7 @@ class FormBuilderCupertinoTextField extends FormBuilderField<String> {
338341
this.enableIMEPersonalizedLearning = true,
339342
this.scribbleEnabled = true,
340343
this.clearButtonMode = OverlayVisibilityMode.never,
344+
this.contentInsertionConfiguration,
341345
}) : assert(maxLines == null || maxLines > 0),
342346
assert(minLines == null || minLines > 0),
343347
assert(
@@ -413,6 +417,7 @@ class FormBuilderCupertinoTextField extends FormBuilderField<String> {
413417
enableIMEPersonalizedLearning: enableIMEPersonalizedLearning,
414418
scribbleEnabled: scribbleEnabled,
415419
clearButtonMode: clearButtonMode,
420+
contentInsertionConfiguration: contentInsertionConfiguration,
416421
);
417422

418423
return CupertinoFormRow(

0 commit comments

Comments
 (0)