FBadgeCustomStyle constructor

const FBadgeCustomStyle({
  1. required Color backgroundColor,
  2. required Color borderColor,
  3. required double borderWidth,
  4. required FBadgeContentStyle contentStyle,
  5. 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".');