PrimaryBadge constructor

const PrimaryBadge({
  1. Key? key,
  2. required Widget child,
  3. VoidCallback? onPressed,
  4. Widget? leading,
  5. Widget? trailing,
  6. AbstractButtonStyle? style,
})

Implementation

const PrimaryBadge({
  super.key,
  required this.child,
  this.onPressed,
  this.leading,
  this.trailing,
  this.style,
});