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

Improving performance by turning a SingleChildScrollView into a ListView #7

Closed
Skyost opened this issue Jan 20, 2020 · 0 comments
Closed
Assignees
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@Skyost
Copy link
Owner

Skyost commented Jan 20, 2020

Is your feature request related to a problem? Please describe.
The current WeekView horizontal scrolling may be too expensive if there are too many dates because of the current system.

Currently the horizontal scrolling is managed by a SingleChildScrollView (see here) and DayViews with DayBars are in a Row (this allow to have an horizontal + vertical fixed header).

Describe the solution you'd like
Replacing the SingleChildScrollView by a ListView (whom out-of-viewport elements are not considered).

This can be done by swapping the role of vertical and horizontal scrolling.

Describe alternatives you've considered
Using a third party plugin, like horizontal_data_table or table_sticky_headers. But none really fits the needs of the plugin.

Additional context
None. Help is appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant