OudsFilterChip constructor
- Key? key,
- String? label,
- @Deprecated("This parameter is deprecated and will be removed in a future version. Use icon instead in OudsFilterChip.icon constructor .") String? avatar,
- bool selected = false,
- ValueChanged<
bool> ? onSelected,
Creates a text-only OudsFilterChip.
This is the default constructor. The label parameter must be provided to display the text.
Implementation
const OudsFilterChip({
super.key,
this.label,
@Deprecated(
"This parameter is deprecated and will be removed in a future version. Use icon instead in OudsFilterChip.icon constructor .",
)
this.avatar,
this.selected = false,
this.onSelected,
}) : contentDescription = null,
icon = null;