Recently, I had to come up with a generic component that can scroll anything within it, according
to the mouse location.
This component extends Canvas and has a "Speed" property and a "ScrollToPosition" method.
Check out the example below. Source can be downloaded here.
Adding a macOS widget to a Flutter app using SwiftUI
9 months ago
No comments:
Post a Comment