LiteSearchField constructor
const
LiteSearchField({
- Key? key,
- required ValueChanged<
String> onSearch, - TextEditingController? textEditingController,
- double paddingTop = 0.0,
- double paddingBottom = 0.0,
- double paddingLeft = 0.0,
- double paddingRight = 0.0,
- InputDecoration? decoration,
- FocusNode? focusNode,
- String? initialValue,
- String? hintText = 'Search...',
- bool autofocus = false,
- TextStyle? style,
- bool readOnly = false,
- LiteSearchFieldSettings settings = const LiteSearchFieldSettings(),
Implementation
const LiteSearchField({
super.key,
required this.onSearch,
this.textEditingController,
this.paddingTop = 0.0,
this.paddingBottom = 0.0,
this.paddingLeft = 0.0,
this.paddingRight = 0.0,
this.decoration,
this.focusNode,
this.initialValue,
this.hintText = 'Search...',
this.autofocus = false,
this.style,
this.readOnly = false,
this.settings = const LiteSearchFieldSettings(),
});