SmartSearchBox constructor
const
SmartSearchBox({
- Key? key,
- double width = 600,
- double height = 600,
- String searchHint = 'Search for ...',
- String notFoundHintTitle = 'No result found',
- String notFoundHintSubTitle = 'Sorry, we couldn\'t find the search term.',
- String filterDescription = 'I\'m looking for ...',
- required Future<
Map< resultsQuery(),String, List< >SmartSearchResult> > - Color? dialogBackgroundColor,
- Color? dialogShadowColor,
- Color? dialogSurfaceTintColor,
- ShapeBorder? dialogShape,
- AlignmentGeometry? dialogAlignment,
Implementation
const SmartSearchBox({
super.key,
this.width = 600,
this.height = 600,
this.searchHint = 'Search for ...',
this.notFoundHintTitle = 'No result found',
this.notFoundHintSubTitle = 'Sorry, we couldn\'t find the search term.',
this.filterDescription = 'I\'m looking for ...',
required this.resultsQuery,
this.dialogBackgroundColor,
this.dialogShadowColor,
this.dialogSurfaceTintColor,
this.dialogShape,
this.dialogAlignment,
});