GNCustomBottomSheetDropdownAutoSearchMultiSelect<T extends Object> constructor

GNCustomBottomSheetDropdownAutoSearchMultiSelect<T extends Object>({
  1. required List<T> initialList,
  2. required List<T> filter(
    1. String query
    )?,
  3. T? value,
  4. EdgeInsetsGeometry? padding,
  5. required Widget itemBuilder(
    1. T item
    ),
  6. FormFieldValidator<String>? validator,
  7. required String hintText,
  8. String? label,
  9. bool isMultiSelect = false,
  10. bool? isSelectALL = false,
  11. double? borderRadius,
  12. String? headerText,
  13. bool isRequired = false,
  14. Widget? headerWidget,
  15. bool enabled = true,
  16. void onCallSavePressed(
    1. BuildContext context
    )?,
  17. void onCallClearPressed(
    1. BuildContext context
    )?,
  18. bool isDropDownDisable = false,
  19. required dynamic displayName,
  20. required String bottomSheetHeaderTitle,
  21. dynamic onItemSelected(
    1. T
    )?,
  22. String? subHeaderTitle,
  23. Widget? prefixIcon,
  24. bool? isArrowIcon = true,
  25. String? displayNameFontFamily,
  26. String? hintTextFontFamily,
  27. String? headingFontFamily,
  28. String? dropdownOptionFontFamily,
  29. bool? filled,
  30. Color? bgFillColor,
  31. Color? dropdownBorderColor,
  32. bool? isBorder = true,
  33. bool? isErrorBorder = true,
  34. Color? dropdownErrorBorderColor,
  35. Color? headerFontColor,
  36. List<T>? selectedItems,
  37. Color? displayFontColor,
  38. Color? labelFontColor,
  39. Icon? arrowIcon,
  40. double? labelFontSize,
  41. double? headerFontSize,
  42. String? labelFontFamily,
  43. double? height,
  44. double? width,
  45. double? labelSpace,
  46. void onChanged(
    1. bool? value
    )?,
})

Implementation

GNCustomBottomSheetDropdownAutoSearchMultiSelect(
    {required this.initialList,
    required this.filter,
    this.value,
    this.padding,
    required this.itemBuilder, // Changed to itemBuilder
    this.validator,
    required this.hintText,
    this.label,
    this.isMultiSelect = false,
    this.isSelectALL = false,
    this.borderRadius,
    this.headerText,
    this.isRequired = false,
    this.headerWidget,
    this.enabled = true,
    this.onCallSavePressed,
    this.onCallClearPressed,
    this.isDropDownDisable = false,
    required this.displayName,
    required this.bottomSheetHeaderTitle,
    this.onItemSelected,
    this.subHeaderTitle,
    this.prefixIcon,
    this.isArrowIcon = true,
    this.displayNameFontFamily,
    this.hintTextFontFamily,
    this.headingFontFamily,
    this.dropdownOptionFontFamily,
    this.filled,
    this.bgFillColor,
    this.dropdownBorderColor,
    this.isBorder = true,
    this.isErrorBorder = true,
    this.dropdownErrorBorderColor,
    this.headerFontColor,
    this.selectedItems,
    this.displayFontColor,
    this.labelFontColor,
    this.arrowIcon,
    this.labelFontSize,
    this.headerFontSize,
    this.labelFontFamily,
    this.height,
    this.width,
    this.labelSpace,
    this.onChanged});