Tips & Tricks
I've lost track of the number of times I've been watching someone else code -- either online or in person -- when I've seen them use some neat little editor trick and wondered, "How they did they do that?"
Along these lines, I appreciate this rather cool list put together by Andrea Bizzotto which outlines some of his favorite VSCode shortcuts, extensions, and settings. Regardless of how long you've been coding in Flutter, I'd be surprised if there isn't at least one item here that doesn't prove helpful at stepping up your editor game.
Sometimes you can know a lot about individual widgets and packages in Flutter, but when it comes time to create a specific effect, you're just not sure exactly which widgets to use or how you would combine them to create that effect.
Because of this, I sometimes find it helpful to see how other developers have achieved specific effects, and especially which widgets they relied on and how they combined them to get there.
One such example is contained in this tutorial by Daria Orlova, where she creates a custom-shaped AppBar for use in her "Bunny Search" app. It includes a nice gradient background, as well as transitioning into a pinned AppBar on scroll along with a fading image and accompanying text.
I sort of stumbled across this tweet by Flutter Developer Roaa, and it reminds me yet again that doing things in Flutter is often very simple.
We're talking about haptic feedback here, and the range of feedback supported is broad and easy to implement. It includes impacts with a light, medium, or heavy force, as well as vibrate.