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