SuffaCombobox constructor

const SuffaCombobox({
  1. Key? key,
  2. required List<String> itemList,
  3. required dynamic onItemSelect(
    1. String type
    ),
  4. Color? bgColor,
  5. Color? textColor,
  6. TextStyle? textFont,
  7. Color? optionBgColor,
  8. Color? optionHeaderTextColor,
  9. Color? optionTextColor,
  10. TextStyle? optionTextFont,
  11. required String optionHeaderText,
  12. double? width,
  13. bool? willThereBeABg,
  14. int? initialIndex,
  15. Color? containerBgColor,
  16. double? height,
})

Implementation

const SuffaCombobox(
    {super.key,
    required this.itemList,
    required this.onItemSelect,
    this.bgColor,
    this.textColor,
    this.textFont,
    this.optionBgColor,
    this.optionHeaderTextColor,
    this.optionTextColor,
    this.optionTextFont,
    required this.optionHeaderText,
    this.width,
    this.willThereBeABg,
    this.initialIndex,
    this.containerBgColor,
    this.height});