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

Updated buildViewportChrome #3124

Merged
merged 1 commit into from Jun 14, 2021
Merged

Updated buildViewportChrome #3124

merged 1 commit into from Jun 14, 2021

Conversation

Piinks
Copy link
Contributor

@Piinks Piinks commented Jun 14, 2021

Noticed this while investigating #2012 :)

I think this fixes #2858 without needing to re-fork or refactor everything else.

The replacement for ScrollBehavior.buildViewportChrome is

  • ScrollBehavior.buildScrollbar (which is new functionality) and
  • ScrollBehavior.buildOverscrollIndicator (which is the same as the deprecated buildViewportChrome)

It appears that Scrollbars are applied as needed already, so I left the former out.

@Piinks Piinks added the cleanup label Jun 14, 2021
@Piinks Piinks merged commit 4267bd9 into flutter:master Jun 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update custom_pointer_scroll_view.dart to latest Flutter bits
2 participants