SherlockSearchBar constructor
const
SherlockSearchBar({
- Key? key,
- String? hintText,
- bool? isFullScreen,
- Color? dividerColor,
- double? elevation,
- Color? backgroundColor,
- Color? overlayColor,
- BorderSide? side,
- OutlinedBorder? shape,
- EdgeInsetsGeometry? padding,
- TextStyle? textStyle,
- TextStyle? hintStyle,
- required Sherlock sherlock,
- required SherlockCompletion sherlockCompletion,
- int? sherlockCompletionMinResults,
- int? sherlockCompletionMaxResults,
- void onSearch()?,
- SherlockCompletionsBuilder completionsBuilder(
- BuildContext context,
- List<
String> completions
Implementation
const SherlockSearchBar({
super.key,
this.hintText,
this.isFullScreen,
this.dividerColor,
this.elevation,
this.backgroundColor,
this.overlayColor,
this.side,
this.shape,
this.padding,
this.textStyle,
this.hintStyle,
required this.sherlock,
required this.sherlockCompletion,
this.sherlockCompletionMinResults,
this.sherlockCompletionMaxResults,
this.onSearch,
this.completionsBuilder,
});