DraftModeUIDropDownMenuItem constructor
const
DraftModeUIDropDownMenuItem({
- required String title,
- IconData? icon,
- Widget? screen,
- 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.',
);