GradientChip constructor
const
GradientChip({
- Key? key,
- required String label,
- IconData? icon,
- List<
Color> colors = GradientChipPresets.featured, - ChipStyle? style,
- SdChipThemeData? theme,
- bool selected = true,
- bool enabled = true,
- VoidCallback? onTap,
- ValueChanged<
bool> ? onSelected,
Creates a gradient chip.
Implementation
const GradientChip({
super.key,
required this.label,
this.icon,
this.colors = GradientChipPresets.featured,
this.style,
this.theme,
this.selected = true,
this.enabled = true,
this.onTap,
this.onSelected,
});