MagicDropdown constructor

const MagicDropdown({
  1. Key? key,
  2. Widget? child,
  3. double? customWidth,
  4. List<String>? selectableValues,
  5. List<String> selectedValues = const [],
  6. double height = 400,
  7. String filterTitle = "No Filter Title Provided",
  8. Duration animationDuration = const Duration(milliseconds: 1),
  9. void onSingleValueSelected(
    1. String?
    )?,
  10. void onMultiValueSelected(
    1. List<String>
    )?,
  11. DropdownMode dropdownMode = DropdownMode.customChild,
  12. Widget? customButton,
})

Implementation

const MagicDropdown(
    {Key? key,
    this.child,
    this.customWidth,
    this.selectableValues,
    this.selectedValues = const [],
    this.height = 400,
    this.filterTitle = "No Filter Title Provided",
    this.animationDuration = const Duration(milliseconds: 1),
    this.onSingleValueSelected,
    this.onMultiValueSelected,
    this.dropdownMode = DropdownMode.customChild,
    this.customButton})
    : super(key: key);