FBadge constructor
FBadge({
- required Widget child,
- FBaseBadgeStyle style() = _primary,
- Key? key,
Creates a FBadge.
Implementation
FBadge({required Widget child, this.style = _primary, super.key})
: builder = ((_, style) => Content(style: style, child: child));