[Feature Request] Scroll to programatically #3
Comments
Hi! Currently there is no internal way to do it programmatically. I will take advantage of some time in my Coronavirus quarantine to create a basic controller that allows this scenario. Thank you for the suggestion! |
That sounds great. I have a pet project I would like to try (also during the Corona quarantine) and your plugin looks really promising for what I am thinking about. Thanks for accepting the idea. |
Hi! |
Cool, I have tried but I can't get it to move. I have just stored the controller from the onCreated callback and then I try to use moveBy when pressing a button but it does not move. Perhaps I am using it wrong? The sample code based on your example is here: |
Hi! I've tried your example and now it's working fine. Turns out I was using a counterintuitive approach by moving the origin using negative values. Can you try it again? Thanks! |
Amazing, was going to ask for animation support but saw you already implemented that. It looks great. If I have time to start my side project I might have more ideas but for now this looks really nice. Thanks for sharing and have a nice weekend (even if in quarantine :-), we are a bit restless here in Barcelona as well) |
Thanks for a really cool widget!
I am trying to figure out a way to scroll to a _position programmatically but I have not managed to solve it.
For the scenario I had in mind I would need a way to programmatically move to specific offsets of the DiagonalScrollView when certain things happen but I am not sure how to accomplish that.
All suggestions are welcome :-)
The text was updated successfully, but these errors were encountered: