Best of Dart — 2024
- 1
- 2
Flutter Developers·2y
🚀 Boost Your Flutter App Performance! 🌟
Improve your Flutter app's performance by using nested widgets like Padding, Align, and SizedBox instead of Container. These alternatives offer better optimization and faster build times due to the lack of a const constructor in Container.
- 3
- 4
- 5
Medium·2y
Design System from scratch in Flutter
This post provides a detailed guide on creating a design system from scratch in Flutter to share design code across mobile, web, and desktop apps. It covers the steps from defining atomic parts like colors and shadows to developing themes and components such as buttons and text fields. The post also explains how to manage theme modes and assets independently, and ends by emphasizing the importance of testing the design system.
- 6
- 7
Full-stack·2y
Flutter Roadmap
This guide outlines the necessary steps to learn Flutter, starting from beginner concepts like Dart basics, Flutter SDK installation, and understanding widgets, to advanced topics such as state management, networking, animations, and deployment. It also covers intermediate stages involving state management with Provider and Riverpod, handling user input, and networking. Advanced learners can dive into Firebase, custom widgets, performance optimization, and building for web and desktop platforms. The roadmap encourages continuous learning through community involvement and staying updated with the latest developments.
- 8
- 9
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.
- 10
- 11
Hacker News·2y
nmfisher
Thermion is a framework for building cross-platform 3D applications using Dart and Flutter. It divides its functionality into two packages: 'thermion_flutter' for Flutter-specific tasks, and 'thermion_dart' for general Dart applications. Key components include the ThermionViewer class for managing 3D scenes, and the ThermionFlutterPlugin and ThermionWidget for embedding 3D content within Flutter applications. Thermion supports a variety of functionalities such as scene management, rendering control, and animation.
- 12
- 13
- 14
- 15
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.
- 16
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.
- 17
ITNEXT·2y
Fluttercon Europe 2024
FlutterCon Europe 2024 was a vibrant event featuring various insightful presentations on Flutter development, including talks on static code analysis, security practices with OpenSSF Scorecards, real-time communication with Flutter, and more. Speakers discussed practical approaches to improving code quality and performance, tackling architectural challenges, and integrating native code with Flutter. The conference emphasized community connection and knowledge sharing, providing a thorough overview of the latest trends and techniques in Flutter development.
- 18
Medium·1y
Announcing Dart 3.6
Dart 3.6 introduces new features including digit separators for better number readability, pub download counts replacing popularity scores on pub.dev, and pub workspaces for shared resolutions in monorepos. The release aims to improve developer experience and IDE performance. For detailed updates, consult the Dart 3.6.0 changelog.
- 19
- 20
freeCodeCamp·2y
How to Use Enhanced Enums in Dart – Explained With Code Examples
Enhanced enums in Dart offer advanced features like attaching additional information, methods, and properties to each enum option. This enables more organized and expressive code. Key capabilities include custom constructors, operator overloading, using extensions, and mixins. Understanding these features can significantly improve code readability, maintainability, and functionality. Practical examples demonstrate these concepts, making it easier to integrate them into your own projects.
- 21
Code with Andrea·2y
Flutter: Find Unused Dart Files (VSCode Extension)
Unused assets can bloat your app bundle size in Flutter projects. The 'Find Unused Dart Files' extension for VSCode helps identify unnecessary files, assets, and dependencies. Easily run it from the command palette for a cleaner, more efficient codebase.
- 22
Flutter Community·2y
Become a Full Stack Developer with Flutter and Serverpod — Build a Notes app
Learn how to become a full stack developer with Flutter and Serverpod by building a Notes app. Discover the benefits of using Flutter and Serverpod together for building cross-platform apps and backend functionality. Follow step-by-step instructions to install and set up Flutter, Serverpod, and Docker. Generate model classes, create endpoints, and start the server. Make API calls from the Flutter app and perform CRUD operations on the database. By the end of the tutorial, you'll have the skills to build a CRUD notes app using Serverpod and Flutter.
- 23
Very Good Ventures·2y
Flutter Myths: Clearing Up Common Misconceptions
Very Good Ventures debunks common myths surrounding Flutter, showing why it is a top choice for developers. Highlights include Flutter’s performance, the significance of native development knowledge, the availability of plugins, the ease of learning Dart, and Flutter's promising future despite concerns about Google’s long-term commitment. Additionally, Flutter’s suitability for dynamic web applications is discussed, emphasizing its evolving capabilities and robust community support.
- 24
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.
- 25