TonalChip constructor

const TonalChip({
  1. Key? key,
  2. required String label,
  3. required Color color,
  4. required Color foregroundColor,
  5. VoidCallback? onPressed,
})

Implementation

const TonalChip({
  super.key,
  required this.label,
  required this.color,
  required this.foregroundColor,
  this.onPressed,
});