#sprint-4

This commit is contained in:
User3 2025-05-28 12:49:27 +03:00
parent f7f99bf3b1
commit 89333d054d

View File

@ -29,7 +29,9 @@ class _CategoriesWidgetState extends State<CategoriesWidget> {
Color currentItemColor = selectedItem == widget.itemsList[index] Color currentItemColor = selectedItem == widget.itemsList[index]
? primaryColor ? primaryColor
: inputBgColor; : inputBgColor;
return Chips( return Container(
margin: EdgeInsets.only(right: 16),
child: Chips(
onPressed: () => { onPressed: () => {
setState(() { setState(() {
print(currentItem); print(currentItem);
@ -44,6 +46,7 @@ class _CategoriesWidgetState extends State<CategoriesWidget> {
: descColor, : descColor,
), ),
bgColor: currentItemColor, bgColor: currentItemColor,
),
); );
}, },
), ),