ChipButton constructor

const ChipButton({
  1. Key? key,
  2. required Widget child,
  3. VoidCallback? onPressed,
})

Creates a chip button with the specified child and callback.

Implementation

const ChipButton({
  super.key,
  required this.child,
  this.onPressed,
});