Skip to content

Conversation

@brainwo
Copy link
Contributor

@brainwo brainwo commented Feb 23, 2025

ScrollBehavior allows the injection of AutoScroll widget into every scrollables.

It comes with the default anchor and no custom cursors. Which I would argue is a simpler and better default, similar to the default autoscroll found in Firefox. This can be further enhanced with the addition of AutoScrollTheme as discussed in #42, allowing user to give a theme globally that suits their design goal.

Test and example not included. I'm not sure what to test.

@codecov
Copy link

codecov bot commented Feb 23, 2025

Codecov Report

Attention: Patch coverage is 0% with 39 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
lib/src/scroll_behavior/material.dart 0.00% 20 Missing ⚠️
lib/src/scroll_behavior/cupertino.dart 0.00% 19 Missing ⚠️
Files with missing lines Coverage Δ
lib/src/scroll_behavior/cupertino.dart 0.00% <0.00%> (ø)
lib/src/scroll_behavior/material.dart 0.00% <0.00%> (ø)

@brainwo
Copy link
Contributor Author

brainwo commented Feb 23, 2025

Perhaps I should add builder for customization as well

And resolve reviewed changes in GitHub
@brainwo
Copy link
Contributor Author

brainwo commented Feb 24, 2025

I resolved everything and added autoScrollBuilder.

@brainwo brainwo requested a review from Xazin February 24, 2025 09:57
@Xazin Xazin merged commit 27d78c9 into KeepAscent:main Feb 24, 2025
3 checks passed
@brainwo brainwo deleted the scroll-behavior branch February 24, 2025 10:31
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.

2 participants