MBDropdown constructor

const MBDropdown({
  1. Key? key,
  2. required List<MBInfo> items,
  3. MBInfo? selectedItem,
  4. required dynamic onChanged(
    1. MBInfo?
    ),
  5. String? hintText,
  6. bool showSearchBox = true,
  7. bool isEnabled = true,
})

Implementation

const MBDropdown({
  Key? key,
  required this.items,
  this.selectedItem,
  required this.onChanged,
  this.hintText,
  this.showSearchBox = true,
  this.isEnabled = true,
}) : super(key: key);