MyDropdown<T> constructor

const MyDropdown<T>({
  1. Key? key,
  2. required PopupMenuItemBuilder<T> itemBuilder,
  3. T? initialValue,
  4. PopupMenuItemSelected<T>? onSelected,
  5. PopupMenuCanceled? onCanceled,
  6. Color? colorText,
  7. Color? colorBackground,
  8. required Widget child,
})

Implementation

const MyDropdown({
  Key? key,
  required this.itemBuilder,
  this.initialValue,
  this.onSelected,
  this.onCanceled,
  this.colorText,
  this.colorBackground,
  required this.child,
}) : super(key: key);