FormSearch constructor

FormSearch({
  1. Key key,
  2. YekongaForm formControl,
  3. String value,
  4. @required String name,
  5. FocusNode focusNode,
  6. InputDecoration decoration = const InputDecoration(),
  7. TextInputType keyboardType = TextInputType.text,
  8. TextInputAction textInputAction,
  9. TextCapitalization textCapitalization = TextCapitalization.none,
  10. TextStyle style,
  11. StrutStyle strutStyle,
  12. TextAlign textAlign = TextAlign.start,
  13. TextAlignVertical textAlignVertical,
  14. TextDirection textDirection,
  15. bool readOnly = false,
  16. ToolbarOptions toolbarOptions,
  17. bool showCursor,
  18. bool autofocus = false,
  19. String obscuringCharacter = '•',
  20. bool obscureText = false,
  21. bool autocorrect = true,
  22. SmartDashesType smartDashesType = SmartDashesType.enabled,
  23. SmartQuotesType smartQuotesType = SmartQuotesType.enabled,
  24. bool enableSuggestions = true,
  25. int maxLines = 1,
  26. int minLines,
  27. bool expands = false,
  28. int maxLength,
  29. bool maxLengthEnforced = true,
  30. MaxLengthEnforcement maxLengthEnforcement,
  31. ValueChanged<String> onChanged,
  32. VoidCallback onEditingComplete,
  33. ValueChanged<String> onSubmitted,
  34. AppPrivateCommandCallback onAppPrivateCommand,
  35. List<TextInputFormatter> inputFormatters,
  36. bool enabled,
  37. double cursorWidth = 2.0,
  38. double cursorHeight,
  39. Radius cursorRadius,
  40. Color cursorColor,
  41. Brightness keyboardAppearance,
  42. EdgeInsets scrollPadding = const EdgeInsets.all(20.0),
  43. DragStartBehavior dragStartBehavior = DragStartBehavior.start,
  44. bool enableInteractiveSelection = true,
  45. TextSelectionControls selectionControls,
  46. GestureTapCallback onTap,
  47. MouseCursor mouseCursor,
  48. InputCounterWidgetBuilder buildCounter,
  49. ScrollController scrollController,
  50. ScrollPhysics scrollPhysics,
  51. Iterable<String> autofillHints,
  52. String restorationId,
})

Implementation

FormSearch({
  Key key,
  this.formControl,
  this.value,
  @required this.name,
  this.focusNode,
  this.decoration = const InputDecoration(),
  this.keyboardType = TextInputType.text,
  this.textInputAction,
  this.textCapitalization = TextCapitalization.none,
  this.style,
  this.strutStyle,
  this.textAlign = TextAlign.start,
  this.textAlignVertical,
  this.textDirection,
  this.readOnly = false,
  this.toolbarOptions,
  this.showCursor,
  this.autofocus = false,
  this.obscuringCharacter = '•',
  this.obscureText = false,
  this.autocorrect = true,
  this.smartDashesType = SmartDashesType.enabled,
  this.smartQuotesType = SmartQuotesType.enabled,
  this.enableSuggestions = true,
  this.maxLines = 1,
  this.minLines,
  this.expands = false,
  this.maxLength,
  this.maxLengthEnforced = true,
  this.maxLengthEnforcement,
  this.onChanged,
  this.onEditingComplete,
  this.onSubmitted,
  this.onAppPrivateCommand,
  this.inputFormatters,
  this.enabled,
  this.cursorWidth = 2.0,
  this.cursorHeight,
  this.cursorRadius,
  this.cursorColor,
  this.keyboardAppearance,
  this.scrollPadding = const EdgeInsets.all(20.0),
  this.dragStartBehavior = DragStartBehavior.start,
  this.enableInteractiveSelection = true,
  this.selectionControls,
  this.onTap,
  this.mouseCursor,
  this.buildCounter,
  this.scrollController,
  this.scrollPhysics,
  this.autofillHints,
  this.restorationId,
}) : super(key: key);