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

fix: Issue 50 + added safeSetState + Disposal of HandleChange listener #69

Merged
merged 2 commits into from
Oct 13, 2023
Merged

Conversation

aditya113141
Copy link
Contributor

@aditya113141 aditya113141 commented Oct 12, 2023

  • This PR includes the changes proposed in PR 64

  • Fixed Issue 50

  • Added safeSetState - To intelligently handle multiple setState calls without checking the mounted condition for each of them one by one

  • Handled Disposal of HandleChange listener properly to remove error - setState() called after dispose() . This error appeared after making the ScheduledBinding change in global.dart

These issues were observed while using multiple sideMenus and transitioning between them.

@Jamalianpour Jamalianpour merged commit ff51835 into Jamalianpour:master Oct 13, 2023
1 check passed
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

Successfully merging this pull request may close these issues.

This ValueListenableBuilder<SideMenuDisplayMode> widget cannot be marked as needing to build because
2 participants