WBadge constructor
const
WBadge({
- Key? key,
- required Widget child,
- String? text,
- int? count,
- String? className,
- Color? backgroundColor,
- Color? textColor,
- double? size,
- bool showZero = false,
- EdgeInsetsGeometry? padding,
- BorderRadius? borderRadius,
- AlignmentGeometry alignment = Alignment.topRight,
- Offset? offset,
Implementation
const WBadge({
super.key,
required this.child,
this.text,
this.count,
this.className,
this.backgroundColor,
this.textColor,
this.size,
this.showZero = false,
this.padding,
this.borderRadius,
this.alignment = Alignment.topRight,
this.offset,
});