CircularMenuItem constructor
const
CircularMenuItem({
- required VoidCallback onTap,
- IconData? icon,
- Color? color,
- double iconSize = 30,
- List<
BoxShadow> ? boxShadow, - Color? iconColor,
- AnimatedIcon? animatedIcon,
- double padding = 10,
- double margin = 10,
- bool enableBadge = false,
- double? badgeBottomOffset,
- double? badgeLeftOffset,
- double? badgeRightOffset,
- double? badgeTopOffset,
- double? badgeRadius,
- TextStyle? badgeTextStyle,
- String? badgeLabel,
- Color? badgeTextColor,
- Color? badgeColor,
- 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,
});