Hi Johannes, I have been looking for this information for hours. Your videos are so helpful, easy to understand and cool made that your youtube channel is the most helpful youtube channel on programming that I know. Thank you so much for this perfect video.
Thank you very much for this video. After searching for days and days trying to add auto scroll to my project using anime to, jump to but in the end your code help to implement that with only two line of codes.
thanks for this, but i need help. I have a book app where from reading page i have a bookmark button to save the current index/position of the listview. and from the main page if i click the bookmark button where the index of the saved position from reading page was set it will open the reading page and set the position to the index that was saved as bookmark. how to achieve that?
This has been really helpful! Thank you! I tried it but had some problems when I used the Scrollable Positioned List inside a StreamBuilder. How can I access the Scrollable Positioned List in this case?
Thanks Bro it works for me i suggest you all if you try to make textfeild validation auto scroll so you have to place validation key above form widget if you place key above singlechildscrollview it will not worked like this :- SingleChildScrollView( scrollDirection: Axis.vertical, child: Container( key: scroll, child: Form( key: widget.formkey, child: Column( children: [ const SizedBox(height: 10), TextFFeild(
thank you very much. By the way do you have any example of auto scroll function which scrolls as per the speed defined by the user ??? I want page to be scrolled automatically and define speed like 0 1 2 3 …… thanks again
Hello sir..Thanks a lot for the content!.. I have used the Scrollable Positioned List and item listener as taught by you, but the issue is that the response in item listener is taking a bit long. I am using this response in item listener to update my bottom navigation view (which consist of 5 items). But the bottom view updates after 1 second (approx).. Can you please suggest me something on this..?
Thank You Aneesh Gupta! Follow this link: stackoverflow.com/questions/49153087/flutter-scrolling-to-a-widget-in-listview I hope you will get your answer 🙂
How would you scroll automatically if data has been changed inside let's say inside an AppStateManager? I added a listener which would scroll to a specific index after a change in data, but when it scrolls to the index it would bounce back up/down either to the beginning or end (outside the listview). Hard to explain without showing haha
Thank You tristan sp! Follow this link: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-FkJUwzYRn2I.html&ab_channel=DevStack I hope you will get your answer 🙂
but could we detect if we reach the top or button using ScrollablePositionedList .. i cannot see any position in listener like normal ScrollController.position.pixels which listview.builder use it
All your videos are awesome! an off-topic question, How could I put 2 conditions on the same line? ex: if (....) {} else if (....) {} but in one line of code. (with "?" and ":")
So you suggest to add a GlobalKey for a list item. But what about If list view contains 500 items. 500 GlobalKeys, don't you think it is too expensive?
Thank You @SilencePrince! Follow this link: medium.com/@NALSengineering/flutter-from-zero-to-hero-part-7-the-power-of-globalkey-6abf818225a0 I hope you will get your answer 🙂
@@HeyFlutter Again.. GlobalKey is expensive and should be used for specific cases. Let's say I have 1K items in a list. I want to have possibility to scroll to any item . So do you suggest to create 1K global keys (per item)? So what I want to say is that I am not sure if your example will work in real world. Btw article you suggested me does not give any info related to this video.
how to set item with n index for middle of the screen don't use button .I want to set today as 0 index and yesterday as -1 index tomorrow as 1 index . Then want to scroll up and down sides. 5 by five .please help me
Hi Milke, I ask you last time one thing is that one account for one device in app like WhatsApp. Prevent to open same account in multiple devices at the same time.
Thank You Harwinder Singh! Follow this link: stackoverflow.com/questions/61353499/how-to-detect-the-last-direction-user-scrolled I hope you will get your answer 🙂
i got an doubt...can anyone please reply to this comment.... what if i need to scroll for specific position when the scrolldirection is HORIZONTAL i tried the same method can anyone suggest some idea please
Hello, @janarthanans1452! Follow this link: stackoverflow.com/questions/69345235/scrolling-to-a-item-in-horizontal-list-view-inside-vertical-list-view-in-flutter/76431628 I hope it will solve your problem. Thank You 🙂
Thank You kishore s! Follow this link: stackoverflow.com/questions/49153087/flutter-scrolling-to-a-widget-in-listview I hope you will get your answer 🙂
Thank You AlphaPro! Follow this link: stackoverflow.com/questions/57011733/find-out-which-items-in-a-listview-are-visible I hope you will get your answer 🙂
thanks very much!.. i used an array of keys like this keyForSearchingList = List.generate(50, (index) => GlobalKey(debugLabel: 'key_$index'),growable: true);