MiniSearchBar constructor
const
MiniSearchBar({
- Key? key,
- String? initialValue,
- TextEditingController? controller,
- FocusNode? focusNode,
- ValueChanged<
String> ? onChanged, - ValueChanged<
String> ? onSubmitted, - String? placeholder,
- TextInputAction textInputAction = TextInputAction.search,
- bool enabled = true,
- bool autofocus = false,
- int? maxLength,
Implementation
const MiniSearchBar({
super.key,
this.initialValue,
this.controller,
this.focusNode,
this.onChanged,
this.onSubmitted,
this.placeholder,
this.textInputAction = TextInputAction.search,
this.enabled = true,
this.autofocus = false,
this.maxLength,
});