SearchableDropdown constructor

const SearchableDropdown({
  1. Key? key,
  2. required List<SearchListModel> list,
  3. PreferredSizeWidget? appBar,
  4. bool multiSelect = false,
  5. Icon? selectIcon,
  6. Color? selectedIconColor,
  7. String appBarText = 'Search',
  8. String searchBarHintText = 'Search',
  9. String searchBarLabelText = 'Search',
  10. bool showSearchBarLabel = true,
  11. Icon? confirmIcon,
  12. bool showBottomButton = false,
  13. String confirmButtonText = 'Select',
  14. Color? bottomButtonColor,
  15. double? bottomButtonWidth,
  16. bool? bottomButtonHasBorder,
  17. Color? bottomButtonBorderColor,
  18. 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});