fixed analyze issue

This commit is contained in:
Username1548
2024-11-15 19:31:59 +07:00
parent ced2a7708a
commit fd5adabf31

View File

@@ -569,31 +569,4 @@ class _FeedScreenState extends State<FeedScreen> {
);
}
_choiceChipWidget(int index) {
return ChoiceChip(
selectedColor: appTheme.blueA400,
pressElevation: 0,
showCheckmark: false,
side: BorderSide.none,
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(16),
),
padding: const EdgeInsets.symmetric(horizontal: 8, vertical: 4),
label: Text(chipsLabelList[index]),
labelStyle: TextStyle(
color: index == _selectedChipIndex ? Colors.white : appTheme.gray600,
fontWeight: FontWeight.w500,
fontSize: 12,
),
selected: _selectedChipIndex == index,
backgroundColor: appTheme.gray100,
onSelected: (bool selected) {
setState(() {
_selectedChipIndex = index;
searchController.clear();
FocusScope.of(context).requestFocus(new FocusNode());
});
},
);
}
}