JsonTextFormFieldBuilderModel constructor

const JsonTextFormFieldBuilderModel(
  1. Map<String, dynamic> args, {
  2. bool autocorrect = true,
  3. Iterable<String>? autofillHints,
  4. bool autofocus = false,
  5. AutovalidateMode? autovalidateMode,
  6. Widget? buildCounter(
    1. BuildContext, {
    2. required int currentLength,
    3. required bool isFocused,
    4. required int? maxLength,
    })?,
  7. bool canRequestFocus = true,
  8. Clip clipBehavior = Clip.hardEdge,
  9. ContentInsertionConfiguration? contentInsertionConfiguration,
  10. Widget contextMenuBuilder(
    1. BuildContext,
    2. EditableTextState
    )?,
  11. required TextEditingController? controller,
  12. Color? cursorColor,
  13. double? cursorHeight,
  14. bool? cursorOpacityAnimates,
  15. Radius? cursorRadius,
  16. double cursorWidth = 2.0,
  17. required dynamic decoration,
  18. DragStartBehavior dragStartBehavior = DragStartBehavior.start,
  19. bool enableIMEPersonalizedLearning = true,
  20. bool? enableInteractiveSelection,
  21. bool enableSuggestions = true,
  22. bool? enabled,
  23. bool expands = false,
  24. FocusNode? focusNode,
  25. String? initialValue,
  26. List<TextInputFormatter>? inputFormatters,
  27. Brightness? keyboardAppearance,
  28. TextInputType? keyboardType,
  29. TextMagnifierConfiguration? magnifierConfiguration,
  30. int? maxLength,
  31. MaxLengthEnforcement? maxLengthEnforcement,
  32. int? maxLines = 1,
  33. int? minLines,
  34. MouseCursor? mouseCursor,
  35. bool obscureText = false,
  36. String obscuringCharacter = '•',
  37. void onAppPrivateCommand(
    1. String,
    2. Map<String, dynamic>
    )?,
  38. void onChanged(
    1. String
    )?,
  39. void onEditingComplete()?,
  40. void onFieldSubmitted(
    1. String
    )?,
  41. void onSaved(
    1. String?
    )?,
  42. void onTap()?,
  43. void onTapOutside(
    1. PointerDownEvent
    )?,
  44. bool readOnly = false,
  45. String? restorationId,
  46. bool scribbleEnabled = true,
  47. ScrollController? scrollController,
  48. EdgeInsets scrollPadding = const EdgeInsets.all(20.0),
  49. ScrollPhysics? scrollPhysics,
  50. TextSelectionControls? selectionControls,
  51. BoxHeightStyle selectionHeightStyle = BoxHeightStyle.tight,
  52. BoxWidthStyle selectionWidthStyle = BoxWidthStyle.tight,
  53. bool? showCursor,
  54. SmartDashesType? smartDashesType,
  55. SmartQuotesType? smartQuotesType,
  56. SpellCheckConfiguration? spellCheckConfiguration,
  57. StrutStyle? strutStyle,
  58. TextStyle? style,
  59. TextAlign textAlign = TextAlign.start,
  60. TextAlignVertical? textAlignVertical,
  61. TextCapitalization textCapitalization = TextCapitalization.none,
  62. TextDirection? textDirection,
  63. TextInputAction? textInputAction,
  64. UndoHistoryController? undoController,
  65. required dynamic validators,
})

Implementation

const JsonTextFormFieldBuilderModel(
  super.args, {
  this.autocorrect = true,
  this.autofillHints,
  this.autofocus = false,
  this.autovalidateMode,
  this.buildCounter,
  this.canRequestFocus = true,
  this.clipBehavior = Clip.hardEdge,
  this.contentInsertionConfiguration,
  this.contextMenuBuilder,
  required this.controller,
  this.cursorColor,
  this.cursorHeight,
  this.cursorOpacityAnimates,
  this.cursorRadius,
  this.cursorWidth = 2.0,
  required this.decoration,
  this.dragStartBehavior = DragStartBehavior.start,
  this.enableIMEPersonalizedLearning = true,
  this.enableInteractiveSelection,
  this.enableSuggestions = true,
  this.enabled,
  this.expands = false,
  this.focusNode,
  this.initialValue,
  this.inputFormatters,
  this.keyboardAppearance,
  this.keyboardType,
  this.magnifierConfiguration,
  this.maxLength,
  this.maxLengthEnforcement,
  this.maxLines = 1,
  this.minLines,
  this.mouseCursor,
  this.obscureText = false,
  this.obscuringCharacter = '•',
  this.onAppPrivateCommand,
  this.onChanged,
  this.onEditingComplete,
  this.onFieldSubmitted,
  this.onSaved,
  this.onTap,
  this.onTapOutside,
  this.readOnly = false,
  this.restorationId,
  this.scribbleEnabled = true,
  this.scrollController,
  this.scrollPadding = const EdgeInsets.all(20.0),
  this.scrollPhysics,
  this.selectionControls,
  this.selectionHeightStyle = BoxHeightStyle.tight,
  this.selectionWidthStyle = BoxWidthStyle.tight,
  this.showCursor,
  this.smartDashesType,
  this.smartQuotesType,
  this.spellCheckConfiguration,
  this.strutStyle,
  this.style,
  this.textAlign = TextAlign.start,
  this.textAlignVertical,
  this.textCapitalization = TextCapitalization.none,
  this.textDirection,
  this.textInputAction,
  this.undoController,
  required this.validators,
});