Badge constructor
const
Badge({
- Key? key,
- bool hide = false,
- required Widget child,
- required Widget badge,
- Color? badgeColor,
- double? badgeSize,
- double? top,
- double? right,
- double? bottom,
- double? left,
- AlignmentGeometry? alignment,
- double? width,
- double? height,
- GestureTapCallback? onTap,
- EdgeInsetsGeometry? margin,
Implementation
const Badge({
super.key,
this.hide = false,
required this.child,
required this.badge,
this.badgeColor,
this.badgeSize,
this.top,
this.right,
this.bottom,
this.left,
this.alignment,
this.width,
this.height,
this.onTap,
this.margin,
});