Best of Dart — 2024

  1. 1
    Article
    Avatar of dartdevsDart Developers·2y

    Package of the Day! (retry)

    The 'retry' package assists in retrying async functions, making it beneficial for handling occasional failures caused by undesired responses or overloaded servers.

  2. 2
    Article
    Avatar of fluttersquadFlutter 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. 3
    Article
    Avatar of dartdevsDart Developers·2y

    Package of the Day! (timeago)

    The timeago package is a handy tool for converting a DateTime object into a human-readable string, such as 'just now' or 'an hour ago'.

  4. 4
    Article
    Avatar of dartdevsDart Developers·2y

    Dart + Flutter Community Help

    A collaborative space for community members to address issues and seek help with Dart and Flutter development.

  5. 5
    Article
    Avatar of medium_jsMedium·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. 6
    Article
    Avatar of dartdevsDart Developers·2y

    What is your favorite Dart Language Feature???

    Asks readers to share their favorite features in the Dart programming language.

  7. 7
    Article
    Avatar of souabnimonaFull-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. 8
    Article
    Avatar of medium_jsMedium·2y

    The Dart Speed

    The post compares the speed of Dart, JavaScript, and Rust using a Fibonacci function benchmark. Dart performs well in the benchmark, showing its speed in real app development.

  9. 9
    Article
    Avatar of codewithandreaCode 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. 10
    Article
    Avatar of freecodecampfreeCodeCamp·2y

    Flutter Tutorial – How to Develop an App with Flutter From Scratch

    Learn how to develop a Flutter app from scratch, including installation, coding UI elements, testing, and app publication.

  11. 11
    Article
    Avatar of hnHacker 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. 12
    Article
    Avatar of communityCommunity Picks·2y

    Why I'm betting on Dart

    This post discusses why the author is betting on Dart, highlighting Dart's history, versatility, and interop capabilities. The author believes that Dart offers a unique programming environment with cross-platform potential.

  13. 13
    Article
    Avatar of dartdevsDart Developers·2y

    What are your favorite OpenSource Flutter/Dart Projects!

    Seeking recommendations for impressive open-source Flutter and Dart projects, ranging from helpful packages to full applications. Top-voted projects will be highlighted in future posts.

  14. 14
    Article
    Avatar of omgubomg! ubuntu!·2y

    Google’s Flutter Team Layoffs Leave Ubuntu Devs in a Flap

    Google's recent layoffs of 200 people, including the Flutter team, has raised concerns about the future of Flutter within the Ubuntu community.

  15. 15
    Article
    Avatar of medium_jsMedium·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. 16
    Article
    Avatar of medium_jsMedium·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. 17
    Article
    Avatar of itnextITNEXT·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. 18
    Article
    Avatar of medium_jsMedium·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. 19
    Article
    Avatar of codewithandreaCode with Andrea·2y

    BuildContext Extension for Push, Pop

    Simplify your Flutter app's navigation code by defining push and pop methods inside a BuildContext extension. This allows you to use context.push or context.pop instead of repeatedly calling Navigator.of(context).

  20. 20
    Article
    Avatar of freecodecampfreeCodeCamp·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. 21
    Article
    Avatar of codewithandreaCode 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. 22
    Article
    Avatar of flutter_comFlutter 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. 23
    Article
    Avatar of verygoodventuresVery 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. 24
    Article
    Avatar of googledevsGoogle 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. 25
    Article
    Avatar of codewithandreaCode with Andrea·2y

    Stylish Text with ShaderMask and LinearGradient

    Learn how to create stylish text in Flutter by combining ShaderMask with LinearGradient. This example demonstrates using a gradient to style text with a code snippet provided.