NUISearchText constructor

NUISearchText({
  1. bool autoFocus = false,
  2. bool autoCorrect = false,
  3. TextInputType textInputType = TextInputType.name,
  4. bool enabled = true,
  5. TextStyle? textStyle,
  6. TextCapitalization textCapitalization = TextCapitalization.sentences,
  7. TextAlign textAlign = TextAlign.left,
  8. Color? cursorColor = NUIColors.NUITextBlack,
  9. Radius? cursorRadius,
  10. double cursorWidth = 2,
  11. int? maxLength,
  12. InputDecoration? inputDecoration,
  13. String? hint,
  14. String initialValue = "",
  15. NUISearchTextController? controller,
  16. TextStyle? hintTextStyle,
  17. bool searchOnChanged = false,
  18. Duration? searchDelay,
  19. 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
});