SearchDialogWidget constructor
const
SearchDialogWidget({})
Creates a SearchDialogWidget.
keyName
, items
, hintText
, and onSelected
must not be null.
Implementation
const SearchDialogWidget({
super.key,
required this.keyName,
required this.items,
required this.hintText,
this.dialogTitle = "Search",
this.dialogBgColor = Colors.white,
this.closeButtonColor = Colors.red,
this.closeButtonIconColor = Colors.white,
required this.onSelected,
});