made active dynamic

This commit is contained in:
Faris Armoush
2025-05-25 10:59:41 +03:00
parent 92abcdc4f9
commit 6606491458

View File

@ -108,7 +108,7 @@ class _HomeWebPageState extends State<HomeWebPage> {
return HomeCard(
color: homeBloc.homeItems[index].color,
index: index,
active: true,
active: homeBloc.homeItems[index].active!,
name: homeBloc.homeItems[index].title!,
img: homeBloc.homeItems[index].icon!,
onTap: () => homeBloc.homeItems[index].onPress(context),