Chip constructor
const
Chip({
- Key? key,
- required Widget child,
- Widget? leading,
- Widget? trailing,
- VoidCallback? onPressed,
- AbstractButtonStyle? style,
Implementation
const Chip({
super.key,
required this.child,
this.leading,
this.trailing,
this.onPressed,
this.style,
});