selvam920

Results 73 comments of selvam920

_scrollController = new ScrollController(); _scrollController.addListener(() { if (_scrollController.position.maxScrollExtent == _scrollController.position.pixels) { //api call } });

can we do like above? i need to load the data from api when scroll position reached end

is there any alternative, this example shows when last row selected and loading the method but when user scrolled end need to load data from api

yes, possible to handle it in the event listener and also we need to get the position

```dart stateManager!.addListener(() { }); ``` inside that we could not get scrollcontroller

stateManager!.addListener(() { print(stateManager!.scroll!.verticalOffset); }); the above log is not printed when scroll by mouse but when change the row by keyboard it's printed

great.. i will try this

@christianarduino i tried, listener is working with mouse only when we use by keyboard the listener is not working