FBadge.raw constructor

const FBadge.raw({
  1. required Widget builder(
    1. BuildContext,
    2. FBadgeCustomStyle
    ),
  2. FBadgeStyle style = FBadgeStyle.primary,
  3. Key? key,
})

Creates a FBadge with custom content.

Implementation

const FBadge.raw({
  required this.builder,
  this.style = FBadgeStyle.primary,
  super.key,
});