NUISearchText constructor
NUISearchText({
- bool autoFocus = false,
- bool autoCorrect = false,
- TextInputType textInputType = TextInputType.name,
- bool enabled = true,
- TextStyle? textStyle,
- TextCapitalization textCapitalization = TextCapitalization.sentences,
- TextAlign textAlign = TextAlign.left,
- Color? cursorColor = NUIColors.NUITextBlack,
- Radius? cursorRadius,
- double cursorWidth = 2,
- int? maxLength,
- InputDecoration? inputDecoration,
- String? hint,
- String initialValue = "",
- NUISearchTextController? controller,
- TextStyle? hintTextStyle,
- bool searchOnChanged = false,
- Duration? searchDelay,
- bool showDone = false,
Implementation
NUISearchText({
this.autoFocus = false,
this.autoCorrect = false,
this.textInputType = TextInputType.name,
this.enabled = true,
this.textStyle,
this.textCapitalization = TextCapitalization.sentences,
this.textAlign = TextAlign.left,
this.cursorColor = NUIColors.NUITextBlack,
this.cursorRadius,
this.cursorWidth = 2,
this.maxLength,
this.inputDecoration,
this.hint,
this.initialValue = "",
this.controller,
this.hintTextStyle,
this.searchOnChanged = false,
this.searchDelay,
this.showDone = false
});