CustomBadge constructor

const CustomBadge({
  1. Key? key,
  2. AlignmentGeometry? alignment,
  3. Color? backgroundColor,
  4. Widget? child,
  5. bool isLabelVisible = true,
  6. Widget? label,
  7. double? largeSize,
  8. Offset? offset,
  9. EdgeInsetsGeometry? padding,
  10. double? smallSize,
  11. TextStyle? textStyle,
  12. Color? textColor,
})

Badge 徽章组件

Implementation

const CustomBadge({
  super.key,
  this.alignment,
  this.backgroundColor,
  this.child,
  this.isLabelVisible = true,
  this.label,
  this.largeSize,
  this.offset,
  this.padding,
  this.smallSize,
  this.textStyle,
  this.textColor,
});