You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i have list of items in the HomeScreen a button to make each of them as favorite
and FavoriteScreen to Get the favorite Items but
when i mark item as favorite in the home screen i didn't gei it when moving to the favoritescreen using bottombar but when i use PushNamed i get it
please help !!
my code
int cindex = 1;
void addIndex(int index) {
setState(() {
cindex = index;
});
}
List tabs = [FavoriteScreen(),HomeScreen(),DoneScreen(),ProfileScreen() ];
i have list of items in the HomeScreen a button to make each of them as favorite
and FavoriteScreen to Get the favorite Items but
when i mark item as favorite in the home screen i didn't gei it when moving to the favoritescreen using bottombar but when i use PushNamed i get it
please help !!
my code
int cindex = 1;
void addIndex(int index) {
setState(() {
cindex = index;
});
}
List tabs = [FavoriteScreen(),HomeScreen(),DoneScreen(),ProfileScreen() ];
@OverRide
Widget build(BuildContext context) {
}
The text was updated successfully, but these errors were encountered: