FollyMenuItem constructor
const
FollyMenuItem({
- required String label,
- required VoidCallback onTap,
- IconData? iconData,
- VoidCallback? onLongPress,
- Color? color,
- Color backgroundColor = Colors.transparent,
- Key? key,
Implementation
const FollyMenuItem({
required this.label,
required this.onTap,
this.iconData,
this.onLongPress,
this.color,
this.backgroundColor = Colors.transparent,
super.key,
});