Comments (4)
No problem! Yeah this library is overdue for an update. When I get some free time I plan on moving most things to the BoardViewController and make it more robust and web ready. I also plan on adding animations to it some point
from flutterboardview.
I haven't tested this code but you can get the scroll offsets by doing this.
BoardViewController bvController = new BoardViewController();
double offset = bvController.state.boardViewController.offset; // This would be the boardview scroll position
bcController.state.listStates.forEach((element) async{
double offset = element.boardListController.offset;//This would be the scroll position of a board list
});
I would then create a new ScrollController after the position would be lost by setting the old offset
bvController.state.boardViewController = new ScrollController(initialScrollOffset:offset);
from flutterboardview.
Thanks for the code! I'll try it out...
Would you consider exposing the scroll controller as a parameter when creating the BoardViewController?
from flutterboardview.
That's great to hear!! We're working to add it to our app, the package has been really helpful. Thanks for your work on it!
from flutterboardview.
Related Issues (20)
- Can you give null safety support for this plugin? HOT 5
- Run Isssue
- BoardView and BoardList scroll indicators
- isPointerOverScrollbar Error HOT 4
- How I can custom refresh data and load more data of the items in BoardItem?
- The drag and drop does not work on web/desktop HOT 1
- Provide an example that matches with the screenshot that had been provided in readme.md.
- draggedListIndex null when moving item in top left HOT 1
- BoardView takes up as much space as it can. HOT 1
- Warning after Upgrade to Flutter 3
- Needs animateTo BoardItem.
- Add New BroadList Button At the Horizontal End . HOT 1
- Not Scrolling automatically when drag items vertically
- Error: No named parameter with the name 'isAlwaysShown'.
- Unhandled Exception: Null check operator used on a null value
- widget.isAlwaysShown ?? _scrollbarTheme.isAlwaysShown ?? false; HOT 2
- showing this error
- How to add RefreshIndicator
- How to create board view by fetching data from rest api? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flutterboardview.