DraftModeUIDropDownMenuItem constructor

const DraftModeUIDropDownMenuItem({
  1. required String title,
  2. IconData? icon,
  3. Widget? screen,
  4. VoidCallback? onTap,
})

Implementation

const DraftModeUIDropDownMenuItem({
  required this.title,
  this.icon,
  this.screen,
  this.onTap,
}) : assert(
        screen == null || onTap == null,
        'Provide screen or onTap, not both.',
      );