TestableTextFormField constructor

TestableTextFormField({
  1. AutovalidateMode? autovalidateMode,
  2. Iterable<String>? autofillHints,
  3. bool autofocus = false,
  4. InputCounterWidgetBuilder? buildCounter,
  5. EditableTextContextMenuBuilder? contextMenuBuilder,
  6. TextEditingController? controller,
  7. Color? cursorColor,
  8. double? cursorHeight,
  9. Radius? cursorRadius,
  10. double cursorWidth = 2.0,
  11. dynamic decoration = const InputDecoration(),
  12. bool enableIMEPersonalizedLearning = true,
  13. bool enableInteractiveSelection = true,
  14. bool enableSuggestions = true,
  15. bool enabled = true,
  16. bool expands = false,
  17. FocusNode? focusNode,
  18. TestableGestures? gestures,
  19. String? id,
  20. String? initialValue,
  21. List<TextInputFormatter>? inputFormatters,
  22. Brightness? keyboardAppearance,
  23. TextInputType? keyboardType,
  24. int? maxLength,
  25. MaxLengthEnforcement? maxLengthEnforcement,
  26. int? maxLines,
  27. int? minLines,
  28. MouseCursor? mouseCursor,
  29. bool obscureText = false,
  30. String obscuringCharacter = '*',
  31. ValueChanged<String>? onChanged,
  32. VoidCallback? onEditingComplete,
  33. ValueChanged<String>? onFieldSubmitted,
  34. FormFieldSetter<String>? onSaved,
  35. VoidCallback? onTap,
  36. TapRegionCallback? onTapOutside,
  37. bool readOnly = false,
  38. String? restorationId,
  39. ScrollController? scrollController,
  40. EdgeInsetsGeometry scrollPadding = const EdgeInsets.all(20.0),
  41. ScrollPhysics? scrollPhysics,
  42. String? scrollableId,
  43. TextSelectionControls? selectionControls,
  44. bool? showCursor,
  45. SmartDashesType? smartDashesType,
  46. SmartQuotesType? smartQuotesType,
  47. StrutStyle? strutStyle,
  48. TextStyle? style,
  49. TextAlign textAlign = TextAlign.start,
  50. TextAlignVertical? textAlignVertical,
  51. TextCapitalization textCapitalization = TextCapitalization.none,
  52. TextDirection? textDirection,
  53. TextInputAction? textInputAction,
  54. String? validator(
    1. String?
    )?,
})

Implementation

TestableTextFormField({
  this.autovalidateMode,
  this.autofillHints,
  this.autofocus = false,
  this.buildCounter,
  this.contextMenuBuilder,
  this.controller,
  this.cursorColor,
  this.cursorHeight,
  this.cursorRadius,
  this.cursorWidth = 2.0,
  this.decoration = const InputDecoration(),
  this.enableIMEPersonalizedLearning = true,
  this.enableInteractiveSelection = true,
  this.enableSuggestions = true,
  this.enabled = true,
  this.expands = false,
  this.focusNode,
  this.gestures,
  this.id,
  this.initialValue,
  this.inputFormatters,
  this.keyboardAppearance,
  this.keyboardType,
  this.maxLength,
  this.maxLengthEnforcement,
  this.maxLines,
  this.minLines,
  this.mouseCursor,
  this.obscureText = false,
  this.obscuringCharacter = '*',
  this.onChanged,
  this.onEditingComplete,
  this.onFieldSubmitted,
  this.onSaved,
  this.onTap,
  this.onTapOutside,
  this.readOnly = false,
  this.restorationId,
  this.scrollController,
  this.scrollPadding = const EdgeInsets.all(20.0),
  this.scrollPhysics,
  this.scrollableId,
  this.selectionControls,
  this.showCursor,
  this.smartDashesType,
  this.smartQuotesType,
  this.strutStyle,
  this.style,
  this.textAlign = TextAlign.start,
  this.textAlignVertical,
  this.textCapitalization = TextCapitalization.none,
  this.textDirection,
  this.textInputAction,
  this.validator,
});