FollyMenuItem constructor

const FollyMenuItem({
  1. required String label,
  2. required VoidCallback onTap,
  3. IconData? iconData,
  4. VoidCallback? onLongPress,
  5. Color? color,
  6. Color backgroundColor = Colors.transparent,
  7. Key? key,
})

Implementation

const FollyMenuItem({
  required this.label,
  required this.onTap,
  this.iconData,
  this.onLongPress,
  this.color,
  this.backgroundColor = Colors.transparent,
  super.key,
});