Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can I refresh a page during page transitions? #205

Open
sedsax opened this issue Oct 19, 2023 · 0 comments
Open

How can I refresh a page during page transitions? #205

sedsax opened this issue Oct 19, 2023 · 0 comments

Comments

@sedsax
Copy link

sedsax commented Oct 19, 2023

When switching between pages from these tabs, the page does not refresh. If there are 3 notifications on the notification page, when I enter the page, it should be marked as read and new notifications should come, but they do not. The information is updated when you scroll down the page. However, when I scroll down the page, I can see new notifications.

ConvexAppBar _homeBottomNavigation(BuildContext context) {
return ConvexAppBar.badge(
{
4: 'notificationCount',
},
items: const [
TabItem(icon: Icons.home, title: "A"),
TabItem(icon: Icons.people, title: "S"),
TabItem(icon: Icons.add, title: "Y"),
TabItem(icon: Icons.business_center, title: "C"),
TabItem(icon: Icons.notifications, title: "B"), // I want the data to be updated when I move to this page from other pages
],
onTap: (index) {
null,
},
);
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant