CircularMenuItem constructor

const CircularMenuItem({
  1. required VoidCallback onTap,
  2. IconData? icon,
  3. Color? color,
  4. double iconSize = 30,
  5. List<BoxShadow>? boxShadow,
  6. Color? iconColor,
  7. AnimatedIcon? animatedIcon,
  8. double padding = 10,
  9. double margin = 10,
  10. bool enableBadge = false,
  11. double? badgeBottomOffset,
  12. double? badgeLeftOffset,
  13. double? badgeRightOffset,
  14. double? badgeTopOffset,
  15. double? badgeRadius,
  16. TextStyle? badgeTextStyle,
  17. String? badgeLabel,
  18. Color? badgeTextColor,
  19. Color? badgeColor,
  20. bool onTapClosesMenu = true,
})

Implementation

const CircularMenuItem({
  required this.onTap,
  this.icon,
  this.color,
  this.iconSize = 30,
  this.boxShadow,
  this.iconColor,
  this.animatedIcon,
  this.padding = 10,
  this.margin = 10,
  this.enableBadge = false,
  this.badgeBottomOffset,
  this.badgeLeftOffset,
  this.badgeRightOffset,
  this.badgeTopOffset,
  this.badgeRadius,
  this.badgeTextStyle,
  this.badgeLabel,
  this.badgeTextColor,
  this.badgeColor,
  this.onTapClosesMenu = true,
});