DropdownMenuItem constructor
const
DropdownMenuItem({
- required String label,
- IconData? icon,
- VoidCallback? onTap,
- bool isDivider = false,
- bool isDanger = false,
Implementation
const DropdownMenuItem({
required this.label,
this.icon,
this.onTap,
this.isDivider = false,
this.isDanger = false,
});