GNSearchField constructor
const
GNSearchField({
- Key? key,
- required TextEditingController controller,
- dynamic onChanged(
- String value
- String? inputTextFontFamily,
- Widget? prefixIcon,
- Color? backgroundColor,
- double? placeholderTextSize,
- Color? placeholderTextColor,
- BoxDecoration? decoration,
- void onTap()?,
- String placeholder = StringConst.SEARCH,
- double? height,
- TextStyle? textStyle,
- TextStyle? placeholderStyle,
- Color? shadowColor,
- double? borderRadius,
- bool? enable,
- dynamic onSubmitted()?,
- FocusNode? focusNode,
Implementation
const GNSearchField(
{super.key,
required this.controller,
this.onChanged,
this.inputTextFontFamily,
this.prefixIcon,
this.backgroundColor,
this.placeholderTextSize,
this.placeholderTextColor,
this.decoration,
this.onTap,
this.placeholder = StringConst.SEARCH,
this.height,
this.textStyle,
this.placeholderStyle,
this.shadowColor,
this.borderRadius,
this.enable,
this.onSubmitted,
this.focusNode});