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

Performance Enhancements: Lazy Loading #2069

Open
2 tasks done
parthshindee opened this issue Sep 9, 2024 · 1 comment · May be fixed by #2089
Open
2 tasks done

Performance Enhancements: Lazy Loading #2069

parthshindee opened this issue Sep 9, 2024 · 1 comment · May be fixed by #2089
Assignees

Comments

@parthshindee
Copy link
Contributor

parthshindee commented Sep 9, 2024

Time Tracking: MA-206

Lazy loading involves loading only the components that are necessary at a given time, rather than loading everything at once. This approach can drastically reduce initial load times and memory usage.

This is done when:

  • Load heavy widgets conditionally based on user actions (i.e. Shuttle and Parking cards)
  • Use ListView.builder to lazily build its children, creating only those visible on the screen.

This issue is part of the Flutter Mobile App Performance Improvements Proposal

@klortiz13
Copy link
Contributor

Heavy widgets are loaded only when the user sees them. The next issue #2070 aims to solve the speed at which these heavy widgets load.

@parthshindee parthshindee linked a pull request Oct 16, 2024 that will close this issue
@parthshindee parthshindee linked a pull request Oct 16, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: PR Review
Development

Successfully merging a pull request may close this issue.

2 participants