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: prevent flickering while left_menu slides in #154

Merged
merged 3 commits into from
Jun 28, 2024
Merged

fix: prevent flickering while left_menu slides in #154

merged 3 commits into from
Jun 28, 2024

Conversation

flexiondotorg
Copy link
Member

While the menu slides in from the left it causes the whole app to flicker and stutter.

This patch caches the supportedLocales at initState() and replaces Divider() with Container(). The two Divider() were largely responsible for the ugly flickering and replacing the with Conatiner() keeps things flicker free.

When the left_menu slides in from the left, the entire app window flickers and stutters.

The two `const Divider(),` references are the cause of this stuttering, so they have been replaced with `Container()`.
@flexiondotorg flexiondotorg merged commit def50f5 into main Jun 28, 2024
3 checks passed
@flexiondotorg flexiondotorg deleted the menu branch June 28, 2024 15:40
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.

1 participant