FormSearch constructor
FormSearch({
- Key key,
- YekongaForm formControl,
- String value,
- @required String name,
- FocusNode focusNode,
- InputDecoration decoration = const InputDecoration(),
- TextInputType keyboardType = TextInputType.text,
- TextInputAction textInputAction,
- TextCapitalization textCapitalization = TextCapitalization.none,
- TextStyle style,
- StrutStyle strutStyle,
- TextAlign textAlign = TextAlign.start,
- TextAlignVertical textAlignVertical,
- TextDirection textDirection,
- bool readOnly = false,
- ToolbarOptions toolbarOptions,
- bool showCursor,
- bool autofocus = false,
- String obscuringCharacter = '•',
- bool obscureText = false,
- bool autocorrect = true,
- SmartDashesType smartDashesType = SmartDashesType.enabled,
- SmartQuotesType smartQuotesType = SmartQuotesType.enabled,
- bool enableSuggestions = true,
- int maxLines = 1,
- int minLines,
- bool expands = false,
- int maxLength,
- bool maxLengthEnforced = true,
- MaxLengthEnforcement maxLengthEnforcement,
- ValueChanged<
String> onChanged, - VoidCallback onEditingComplete,
- ValueChanged<
String> onSubmitted, - AppPrivateCommandCallback onAppPrivateCommand,
- List<
TextInputFormatter> inputFormatters, - bool enabled,
- double cursorWidth = 2.0,
- double cursorHeight,
- Radius cursorRadius,
- Color cursorColor,
- Brightness keyboardAppearance,
- EdgeInsets scrollPadding = const EdgeInsets.all(20.0),
- DragStartBehavior dragStartBehavior = DragStartBehavior.start,
- bool enableInteractiveSelection = true,
- TextSelectionControls selectionControls,
- GestureTapCallback onTap,
- MouseCursor mouseCursor,
- InputCounterWidgetBuilder buildCounter,
- ScrollController scrollController,
- ScrollPhysics scrollPhysics,
- Iterable<
String> autofillHints, - 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);