AntdBadge constructor

const AntdBadge({
  1. Key? key,
  2. AntdBadgeStyle? style,
  3. AntdStyleBuilder<AntdBadgeStyle, AntdBadge>? styleBuilder,
  4. bool? bordered,
  5. AntdColor? color = AntdColor.danger,
  6. Widget? badge,
  7. bool? dot,
  8. AntdBadgePosition position = AntdBadgePosition.topRight,
  9. Widget? child,
  10. Offset? offset,
})

Implementation

const AntdBadge(
    {super.key,
    super.style,
    super.styleBuilder,
    this.bordered,
    this.color = AntdColor.danger,
    this.badge,
    this.dot,
    this.position = AntdBadgePosition.topRight,
    this.child,
    this.offset});