FBadgeCustomStyle constructor
const
FBadgeCustomStyle({
- required Color backgroundColor,
- required Color borderColor,
- required double borderWidth,
- required FBadgeContentStyle contentStyle,
- BorderRadius borderRadius = const BorderRadius.all(Radius.circular(100)),
Creates a FBadgeCustomStyle.
Implementation
const FBadgeCustomStyle({
required this.backgroundColor,
required this.borderColor,
required this.borderWidth,
required this.contentStyle,
this.borderRadius = const BorderRadius.all(Radius.circular(100)),
}) : assert(0 < borderWidth, 'The borderWidth is $borderWidth, but it should be in the range "0 < borderWidth".');