StringChipBuilders extension

Quick builders for string-based chip usage.

on

Methods

basicChip({Key? key, ChipStyle? style, bool selected = false, ValueChanged<bool>? onSelected}) Widget

Available on String, provided by the StringChipBuilders extension

Creates a lightweight BasicChip with this string as its label.
toChoiceConfig({IconData? icon}) ChoiceChipConfig

Available on String, provided by the StringChipBuilders extension

Creates a ChoiceChipConfig using the string as label and id.
toFilterConfig({IconData? icon}) FilterChipConfig

Available on String, provided by the StringChipBuilders extension

Creates a FilterChipConfig using the string as label and id.