I'm using FilterChip with a CircleAvatar for avatar, but the selected state has a nasty rectangle that I can't seem to find any reference for. How do I remove it?
Code:
child: FilterChip(
avatar: CircleAvatar(
backgroundColor: category.color
),
label: Text(category.name),
selected: badCategoryIds.contains(category.id),
onSelected: (bool value) {
if (value) {
badCategoryIds.add(category.id);
}
else {
badCategoryIds.remove(category.id);
}
categoryChoiceCallback(badCategoryIds);
},
)
Result:
How I want it to appear (taken from material.io documentation):

