2 Commits

Author SHA1 Message Date
markwei
61375f7e97 Implement ChipGroup selection exclusivity.
New singleSelection attribute to control whether the ChipGroup has a multiple-exclusion scope for its chips.
When set to true, the ChipGroup acts as a RadioGroup.

ChipGroup can be used purely for layout purposes when singleSelection is set to false.

PiperOrigin-RevId: 178466966
2018-01-11 10:55:26 -05:00
markwei
46d1a6f070 New ChipGroup widget.
Uses FlexboxLayout to allow either:
- Reflowed multiline chips (default)
- Singleline chips

PiperOrigin-RevId: 178151061
2018-01-11 10:53:50 -05:00