SearchBox constructor
const
SearchBox({
- Key? key,
- double? minWidth,
- ValueChanged<
String> ? onChanged, - VoidCallback? onEditingComplete,
- ValueChanged<
String> ? onSubmitted, - String? initialText,
- FocusNode? focusNode,
- TextEditingController? controller,
- bool autofocus = false,
- String placeholder = "Search",
- Widget? leading,
- Widget? trailing,
Implementation
const SearchBox(
{super.key,
this.minWidth,
this.onChanged,
this.onEditingComplete,
this.onSubmitted,
this.initialText,
this.focusNode,
this.controller,
this.autofocus = false,
this.placeholder = "Search",
this.leading,
this.trailing});