SearchableDropdown constructor
const
SearchableDropdown({
- Key? key,
- required List<
SearchListModel> list, - PreferredSizeWidget? appBar,
- bool multiSelect = false,
- Icon? selectIcon,
- Color? selectedIconColor,
- String appBarText = 'Search',
- String searchBarHintText = 'Search',
- String searchBarLabelText = 'Search',
- bool showSearchBarLabel = true,
- Icon? confirmIcon,
- bool showBottomButton = false,
- String confirmButtonText = 'Select',
- Color? bottomButtonColor,
- double? bottomButtonWidth,
- bool? bottomButtonHasBorder,
- Color? bottomButtonBorderColor,
- bool refreshList = false,
Implementation
const SearchableDropdown(
{super.key,
required this.list,
this.appBar,
this.multiSelect = false,
this.selectIcon,
this.selectedIconColor,
this.appBarText = 'Search',
this.searchBarHintText = 'Search',
this.searchBarLabelText = 'Search',
this.showSearchBarLabel = true,
this.confirmIcon,
this.showBottomButton = false,
this.confirmButtonText = 'Select',
this.bottomButtonColor,
this.bottomButtonWidth,
this.bottomButtonHasBorder,
this.bottomButtonBorderColor,
this.refreshList = false});