OptimusBadge constructor
const
OptimusBadge({
- Key? key,
- String text = '',
- bool outline = true,
- TextOverflow overflow = TextOverflow.ellipsis,
- OptimusBadgeVariant variant = OptimusBadgeVariant.primary,
Implementation
const OptimusBadge({
super.key,
this.text = '',
this.outline = true,
this.overflow = TextOverflow.ellipsis,
this.variant = OptimusBadgeVariant.primary,
});