SecondaryBadge constructor

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

Implementation

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