InputPanelField.search constructor

InputPanelField.search({
  1. Key? key,
  2. String? text,
  3. bool obscureText = false,
  4. BoxDecoration? decoration,
  5. int maxLines = 1,
  6. double height = 38,
  7. TextInputAction textInputAction = TextInputAction.search,
  8. Color? normalColor,
  9. Color? focusColor = Colors.transparent,
  10. ValueChanged<String>? onSubmitted,
  11. TextEditingController? controller,
  12. String? hintText,
  13. FocusNode? focusNode,
  14. Widget? leftWidget,
  15. bool leftIconEnable = true,
  16. bool nonDecoration = false,
  17. Color? backGroundColor,
  18. TextInputType keyboardType = TextInputType.text,
  19. VoidCallback? onEditingComplete,
  20. double contentPadding = 18,
  21. List<TextInputFormatter>? inputFormatters,
  22. int? maxLength,
  23. VoidCallback? cancelCallBack,
  24. FocusScopeNode? scopeNode,
  25. String? exceedLimitTip,
  26. bool enable = true,
  27. Color? cursorColor,
  28. EdgeInsetsGeometry? padding,
})

Implementation

InputPanelField.search({
  Key? key,
  this.text,
  this.obscureText = false,
  this.decoration,
  this.maxLines = 1,
  this.height = 38,
  this.textInputAction = TextInputAction.search,
  this.normalColor,
  this.focusColor = Colors.transparent,
  this.onSubmitted,
  this.controller,
  this.hintText,
  this.focusNode,
  this.leftWidget,
  this.leftIconEnable = true,
  this.nonDecoration = false,
  this.backGroundColor,
  this.keyboardType = TextInputType.text,
  this.onEditingComplete,
  this.contentPadding = 18,
  this.inputFormatters,
  this.maxLength,
  this.cancelCallBack,
  this.scopeNode,
  this.exceedLimitTip,
  this.enable = true,
  this.cursorColor,
  this.padding,
}) : super(key: key);