SearchComponent constructor
const
SearchComponent({
- dynamic onChanged()?,
- TextEditingController? textEditingController,
- Iterable<
String> ? autofillHints, - TextInputType? textInputType,
- bool autoFocus = false,
- bool obscureText = false,
- TextInputAction? textInputAction,
- FocusNode? focusNode,
- IconData? prefixIconData,
- String? hintText,
- String? labelText,
- String? errorText,
- String? helperText,
- bool showLabelAboveTextField = false,
- FloatingLabelBehavior floatingLabelBehavior = FloatingLabelBehavior.auto,
- Color? fillColor,
- Color? accentColor,
- Color textColor = Colors.black,
- double borderRadius = 6,
- bool validator()?,
- bool showConfirmation = true,
- bool showError = true,
- double verticalPadding = 20,
- double horizontalPadding = 12,
- double? width,
- Key? key,
Implementation
const SearchComponent(
{this.onChanged,
this.textEditingController,
this.autofillHints,
this.textInputType,
this.autoFocus = false,
this.obscureText = false,
this.textInputAction,
this.focusNode,
this.prefixIconData,
this.hintText,
this.labelText,
this.errorText,
this.helperText,
this.showLabelAboveTextField = false,
this.floatingLabelBehavior = FloatingLabelBehavior.auto,
this.fillColor,
this.accentColor,
this.textColor = Colors.black,
this.borderRadius = 6,
this.validator,
this.showConfirmation = true,
this.showError = true,
this.verticalPadding = 20,
this.horizontalPadding = 12,
this.width,
Key? key})
: super(key: key);