Newsletter Issue 145
September 19, 2022
Remember to comment, rate, clap, or any other recognition you want to give to those who write these fantastic articles, tutorials, packages, and videos.
If you have any remote conference about Flutter or Dart that you want me to share, please send a message on Twitter @fluttertap. Also, if you have any important messages, I will do my best to share them. We have to help each other in this situation.
Are you building something in Flutter this month? Please share it with me on twitter @fluttertap.
Tutorials
How to Store API Keys in Flutter: —dart-define vs .env files. Andrea gives a guide to storing API keys in Flutter. He explains the pros and cons of using —dart-define and .env files and how to obfuscate the keys.
Add Flutter View to Native iOS App. Amisha I shows how to add a Flutter view to a native iOS app as a package library.
Auto Size any widget in Flutter. Samia Ashraf shows us how to use the auto_size_widget
package to resize any Flutter widget.
Get Flutter’s offline support in Supabase. Matías Irland shows us how you can use a local database as a Supabase cache through Stock, a dart package that combines multiple data sources and gets one data Stream.
Videos
Focus (Widget of the Week). Keyboard shortcuts are important for web and desktop applications, and this episode starts a 3-part series on the three primary widgets that comprise this system in Flutter: Focus, Shortcuts, and Actions. This episode covers the Focus widget and the “Focus Tree” they create in your Flutter apps.
Building a Dash Game with Flame | Learning to Fly. In this episode of Learning to Fly, Khanh rebuilds a classic game in Flutter… Flappy Dash! Help Dash safely navigate the skies as pieces of luggage tumble toward her. We also welcome a special guest to the Flutter YouTube channel for the very first time!
PrimaryScrollController | Decoding Flutter. Learn about scroll controllers, the omnipresent PrimaryScrollController widget, and their impact on your cross-platform Flutter apps.
Flutter Zoom Image | Pinch To Zoom. How to zoom images in Flutter and how to create pinch to zoom in Flutter.
Humpday Q&A/AMA :: 7th September 2022. Simon, Scott, and Randal, answer your questions about Flutter and Dart.
Packages
clock This package provides a Clock class which encapsulates the notion of the “current time” and provides easy access to points relative to the current time. Different Clocks can have a different notion of the current time, and the default top-level clock’s notion can be swapped out to reliably test timing-dependent code. pub.dev.
path_provider Flutter plugin for getting commonly used locations on host platform file systems, such as the temp and app data directories. pub.dev.
auto_size_widget A Flutter widget that can resize the child widget by dragging the widget corner. pub.dev.