Best of Dart โ August 2024
- 1
- 2
Code with Andreaยท2y
Futures: await vs unawaited vs ignore
When calling a method that returns a Future, you can use 'await', 'unawaited', or 'ignore'. This choice affects how your code handles exceptions thrown by the Future. Understanding the differences is crucial for proper error handling in asynchronous programming.
- 3
Mediumยท2y
Understanding the power of Keys in Flutter
Keys in Flutter are identifiers for widgets, elements, and semantic nodes, crucial for preserving state when widgets move within the widget tree. They are particularly important for managing state in widgets like ListView or Stateful widgets where data changes order. The post provides examples of implementing keys in reorderable lists and explanations of different types of keys: ValueKey, ObjectKey, UniqueKey, and GlobalKey, highlighting their use cases and significance in maintaining a smooth and reactive user interface.
- 4
Mediumยท2y
Flutter July 2024 ๐ Flutter Monthly
Explore the latest updates and insights from the Flutter community, including the Flutter CTO Report 2024, new features like AI-generated UI, static site generation, and impactful packages. This compilation also covers advanced techniques, integrating analytics services, adapting themes, and understanding deeper aspects of Flutter like InheritedModels and composited layers.
- 5
Google Developersยท2y
How We Built Purrfect Code: A Puzzle Game for Developers
Purrfect Code is a box-pushing programming puzzle game designed for developers, built using Flutter, Dart, and the Flame game engine. Players use JavaScript to control a robot navigating grid-based puzzles to achieve efficient solutions. The game leverages WebAssembly for optimal browser performance and integrates with Google Developer Program for achievements. Firebase Hosting ensures secure and efficient global delivery. Project IDX was utilized for cloud-based development, offering features like intelligent code completion and real-time error checking.