NotificationBadgeWidget constructor

const NotificationBadgeWidget({
  1. Key? key,
  2. int? count,
  3. required Widget child,
  4. bool hideWhenZero = true,
  5. int maxCount = 99,
  6. Color? backgroundColor,
  7. Color? textColor,
  8. AlignmentGeometry? alignment,
  9. Offset? offset,
  10. TextStyle? textStyle,
  11. bool isLabelVisible = true,
})

Implementation

const NotificationBadgeWidget({
  super.key,
  this.count,
  required this.child,
  this.hideWhenZero = true,
  this.maxCount = 99,
  this.backgroundColor,
  this.textColor,
  this.alignment,
  this.offset,
  this.textStyle,
  this.isLabelVisible = true,
});