ArcaneSearch constructor
const
ArcaneSearch({
- String placeholder = 'Search...',
- String? value,
- void onChanged(
- String value
- void onSubmitted(
- String value
- bool showClear = true,
- bool showIcon = true,
- bool loading = false,
- Component? icon,
- bool autofocus = false,
- bool disabled = false,
- SearchSize size = SearchSize.md,
- SearchStyle style = SearchStyle.standard,
- String? id,
- Map<
String, String> ? attributes, - List<
SearchResult> ? results, - String? resultsId,
- bool showDropdown = false,
- String? dropdownMaxHeight,
- String? width,
- Key? key,
Implementation
const ArcaneSearch({
this.placeholder = 'Search...',
this.value,
this.onChanged,
this.onSubmitted,
this.showClear = true,
this.showIcon = true,
this.loading = false,
this.icon,
this.autofocus = false,
this.disabled = false,
this.size = SearchSize.md,
this.style = SearchStyle.standard,
this.id,
this.attributes,
this.results,
this.resultsId,
this.showDropdown = false,
this.dropdownMaxHeight,
this.width,
super.key,
});