Source code: https://github.com/irajeshh/FlutterShip
ScreenCopy: https://github.com/Genymobile/scrcpy
DeskPin: https://efotinis.neocities.org/deskpi...
PauseMe: https://github.com/peterbitfly/pause....
MaterialIcons: https://fonts.google.com/icons
Browser: https://brave.com/download/
Operating System: https://www.microsoft.com/en-in/softw...
Laptop: https://amzn.to/3dCBz8q
RAM: https://amzn.to/3yiZGkp
SSD: https://amzn.to/3hcmooE
Monitor: https://amzn.to/3yhdDiS
Samsung J2 Prime Mobile: https://amzn.to/2SJhfLo
Hashtags: #flutter #flutterShip #android #ios
What I Spoke In This Video:
Can you remember what happens when you try to go back from an app page?
Most of the apps will go back instantly, but I don't prefer that to be happen in my apps
I'll try to hold the user for one more time by auto scrolling to the initial
content.
I use Scroller widget to handle this situation.
First of all, let us make the Scroller widget as an integral part of Widgets class.
Now the basic parameters required are a scrollcontroller and a child widget.
This basically works by WillPopScope widget.
When there is no child given, we show a sad emoji, of course it's not needed
anymore as we set the parameters
to @required, it will be indicated automatically, if not given
The scrollbar can be optionally enabled to show the current position
In my case i use it for all the apps as much as possible.
When you try to go back, let us check if the user is seeing the initial
content or he is so far from the top.
The position.pixels will give you the current pixel values and let we can
calculate our logic.
In some cases, you may face exceptions. To avoid that, just wrap the code
with try and catch block.
Now we try this widget on our previous crypto currency wallet app clone.
When I press back button, it scrolls up to the top and If it go back it will
go back.
Hope you find this widget as useful.
I'll share some of the other widgets I use personally In the upcoming videos.
Have a great day.
Queries related to this video:
"flutter listview back to top"
flutter widget of the week
flutter listview builder scroll to bottom
flutter listview scroll animation
flutter list wheel scrollview example
flutter list item animation
flutter list wheel scrollview
flutter listview back to top
flutter list wheel scrollview example and widget week list
flutter scrollview scroll to bottom
flutter scrollview scroll to top
flutter scrollview listview
flutter scroll animation
flutter scrollable page
flutter willpopscope example
flutter willpopscope exit app tutorial for beginners youtube
flutter willpopscope return value
flutter onwillpop example
flutter onwillpop not working
flutter scroll indicator
flutter scrollbar widget
flutter scrollbar always visible
flutter scrollbar color change
flutter scrolling to bottom automatically when the screen opens
flutter scroll widget
flutter list design
flutter custom widget with parameters
flutter custom widget controller
flutter lazy loading listview
flutter simple tutorial
flutter beginner tutorial
flutter beginner tutorial 2021
flutter tips tricks and techniques
flutter beginner projects github tutorial for beginners tutorial
flutter beginner to advanced
flutter beginner tutorial 2021
flutter beginner tips
learn flutter from scratch
learn flutter for beginners
videos for flutter widget of the week listview
flutter basics for beginners
flutter listing app
flutter new widget
flutter learning app github tutorial for beginners step by step
flutter newbie tutorial
flutter starting tutorial
flutter latest tutorial
flutter from beginning
flutter starting tutorial
flutter abc analysis of listview widget
flutter bouncing scroll physics
flutter list item animation
flutter animateto curve example tutorial
flutter card listview example
flutter app development for beginners