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?
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 🙂
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?
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 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
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
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
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
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 🙂
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.
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(
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 ":")
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 🙂
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.
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 🙂
thanks very much!.. i used an array of keys like this keyForSearchingList = List.generate(50, (index) => GlobalKey(debugLabel: 'key_$index'),growable: true);
This might help you :)
👉 12 Week Flutter Training from Newbie to Expert: heyflutter.com
Source Code: github.com/JohannesMilke/scrolling_example
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.
Column is not recommended for Large lists.. I am not sure about scrollable positioned list
This is exactly what I was looking for! Thankyou for this awesome tutorial!❤️
you saved my life ... Excellent Job
Thank you ❤️ for the suggestion! We’ll definitely consider it for our future content ideas. 😊
Will you do an alphabetical listview for flutter next? This really like the content on this channel!
You are the most passionate guy. Thanks 😊
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.
after wasting 3 hour finally i found it!! YOU ARE GOD MEN!
Thanks, @booomit2804! 🙂
Can we add a sticky header to this having multiple sections?
Please tell me how to hide flutter WebView ugly scrollbar
...
Thank You @cib_s! Follow this link: github.com/flutter/flutter/issues/133738
I hope you will get your answer 🙂
Hi, can you do it in nested listview?
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?
Really Helped Bro
Thank you, @StudyStorage-lh9gm! 🙂
Hi Joh,
How to highlight the widget for a specific amount of time after scrolling?
thanks I used it for on page navigation in flutter and it works fine.
Glad you liked it, @minhajraza2268 😀
thanks! Had to use this today in my project
Thank you, faisal mushtaq! 🙂
How can I scroll starting from where new messages start in chat app
Can use this package is available with the grid view?
Sure, Dev Sang! 🙂
Great video! What would be the most precise way to jump to the bottom of the list if widgets in the list have different heights?
Thank You @DraskoSaric! Follow this link: github.com/flutter/flutter/issues/80445
I hope you will get your answer 🙂
how can get all docs from a firebase collection?
you always make good videos
Thank you, ReactNative Developer! 🙂
Thank you for the wonderful video sir it is very helpful for me and my team, Thanks again sir
Glad to hear that, You are welcome @pravinprince3221! 😊
thank you
How can we get in touch with you ?
but it does not have scroll controller to add the listener to detect the user direction .
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 🙂
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?
Awesome! You're the best! Thanks !!!
thanks for the example
can i achieve scroll to index without scrollable positioned package
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 🙂
@@HeyFlutter tq
Thank you very much as always very grateful
You are welcome, @janammaharjan2699 😊
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
Your idea is interesting, ashish rana! 😀 I'll try to cover in upcoming videos
@@HeyFlutter that would be awesome …. I hope very soon .. 😂
how to do it in SingleChildScrollView?
Thank You @playwithrmdhn9462! Follow this link: pub.dev/packages/scroll_to_index
I hope you will get your answer 🙂
@@HeyFlutter it works thanks so much bro 😎✅
You are magician. Thank u 😍
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
Thank you 😊, Mohammed Hamdan! Check out this video : ruclips.net/video/XWfg_d2t_Hk/видео.html
very helpful video
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: ruclips.net/video/FkJUwzYRn2I/видео.html&ab_channel=DevStack
I hope you will get your answer 🙂
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
@@HeyFlutter It is with the button .I dont want to add the button I want just, user open the app it will automatically go the item of relevant index.
Sir, please flutter navigator 2.0
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 🙂
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.
i do the same thing but my widget doesn't get highlighted in scrollablepositionned list, is it normal?
@@HeyFlutter I'll try again with the exact code from the repo
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(
Great, thanks for sharing your knowledge with others, @manankoyawala5337! 🙂👍
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 ":")
@@HeyFlutter
Is there anyway that detect if ListView item is visilne on screen by using LisVIew,builder ?
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
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.
@@HeyFlutter actually m using MYSQL as backend with php for server requests. Thanx
access to source code is not working
Hey, @theelofiguy 🙂 you need to subscribe on github to access code
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 🙂
very nice
Super bro super !!
❤️❤️😍😍
thanks very much!.. i used an array of keys like this keyForSearchingList = List.generate(50, (index) => GlobalKey(debugLabel: 'key_$index'),growable: true);
You are welcome, TYNEPUNK!