TBadgeStyle constructor

const TBadgeStyle({
  1. TBadgeShape shape = TBadgeShape.circle,
  2. BorderRadius borderRadius = BorderRadius.zero,
  3. Color badgeColor = Colors.red,
  4. BorderSide borderSide = BorderSide.none,
  5. double elevation = 2,
  6. TBadgeGradient? badgeGradient,
  7. TBadgeGradient? borderGradient,
  8. EdgeInsetsGeometry padding = const EdgeInsets.all(5.0),
})

Implementation

const TBadgeStyle({
  this.shape = TBadgeShape.circle,
  this.borderRadius = BorderRadius.zero,
  this.badgeColor = Colors.red,
  this.borderSide = BorderSide.none,
  this.elevation = 2,
  this.badgeGradient,
  this.borderGradient,
  this.padding = const EdgeInsets.all(5.0),
});