Best of FlutterJanuary 2025

  1. 1
    Video
    Avatar of fireshipFireship·1y

    The most disastrous app launch of all time…

    Sonos CEO Patrick Spence resigned after the company's disastrous app launch that tarnished its reputation and led to massive financial losses. The app was rewritten using Flutter but released in an unstable state. This move severely impacted the user experience and highlighted the risks of prioritizing premature product releases. The new CEO has since fired the chief product officer, amid rumors of executive negligence towards engineers' warnings.

  2. 2
    Article
    Avatar of medium_jsMedium·1y

    🚀 Introducing Mirai — A Server Driven UI framework for Flutter

    Mirai is a new server-driven UI framework for Flutter that enables dynamic UI updates and instant changes using JSON definitions. Traditional client-driven UI approaches are tedious and slow, requiring app store approvals and user updates. Mirai simplifies this process by allowing the server to control the UI, offering fast updates, easy personalization, simplified maintenance, and efficient A/B testing. Setting up Mirai involves adding dependencies to your Flutter project and defining UI elements in JSON, which are then rendered dynamically on the client side.

  3. 3
    Article
    Avatar of medium_jsMedium·1y

    Build Flutter Apps to Work Offline: Best Practices & Insights

    Building offline capabilities in Flutter apps enhances user experience, data availability, and app reliability. Local storage reduces server calls, while data synchronization maintains consistency when connectivity is restored. Challenges include managing real-time transactions, live data feeds, and handling sensitive data securely. Implementing offline sync involves monitoring connectivity, handling server calls, storing data locally, and ensuring data consistency through synchronization. Developers should consider idempotent API design to prevent data duplication during sync processes.

  4. 4
    Article
    Avatar of codigeeCodigee·1y

    Don't mix bloc with get_it

    Mixing Bloc with dependency injection tools like get_it requires careful consideration to avoid issues with state management. Using singletons for BLoC can disrupt its lifecycle, causing unexpected state persistence and errors. Instead, use registerFactory to ensure clean state instances. For better integration, use RepositoryProvider for dependencies within the widget tree.

  5. 5
    Article
    Avatar of medium_jsMedium·1y

    Mastering Scrollable in Flutter

    Discover how the Scrollable superclass in Flutter works, including notifications, scroll physics, and handling viewport dimensions. Learn the nuances of managing different types of scrollable widgets like ListView, CustomScrollView, and SingleChildScrollView. The guide explains key properties such as scrollDelta, metrics, dragDetails, and how to implement scroll notifications and custom scroll physics. It also covers scenarios involving transformed views during scrolling and offers tips for efficiently managing dynamic content within scrollable areas.

  6. 6
    Article
    Avatar of flutter_comFlutter Community·1y

    Flutter’s Integration with Native Platforms

    Flutter's integration with native platforms allows developers to leverage platform-specific functionalities using Platform Channels and Dart FFI. Platform Channels enable communication between Dart code and native code on platforms like Android and iOS, making it possible to access features such as cameras, GPS, and sensors. The post provides a detailed step-by-step guide on using Method Channel for fetching battery level in a Flutter app.

  7. 7
    Article
    Avatar of fluttersquadFlutter Developers·1y

    Flutter: A mutable model with changeWith method

    Explains the changeWith method for updating immutable state objects in Flutter, which helps prevent bugs related to state management.

  8. 8
    Video
    Avatar of youtubeYouTube·1y

    Translating baby sounds using Google AI

    A new parent describes their journey of using AI to decipher their baby's cries. By recording the baby's sounds and using deep neural networks, they aim to create an app in Flutter that can identify the reasons behind a baby's crying, thereby reducing the panic and uncertainty parents often face.

  9. 9
    Article
    Avatar of ubuntuUbuntu·1y

    Bringing multiple windows to Flutter desktop apps

    Canonical has been working to bring multi-window support to Flutter desktop applications, enhancing usability by allowing more flexible user interfaces. This support allows for better integration of tooltips, dialogs, and menus. Developers will need to update the runner and main function in Dart code. The changes are under review, with support available soon for Linux and MacOS, initially rolling out on Windows.

  10. 10
    Article
    Avatar of communityCommunity Picks·1y

    Device-Agnostic Design with Flutter and Dart

    The free online course focuses on teaching the basics of Flutter and Dart to create applications compatible with multiple devices. It emphasizes hands-on practice in designing, implementing, and testing device-agnostic applications. The platform uses cookies to collect data for improving courses and conducting scientific research.

  11. 11
    Article
    Avatar of codemagiccodemagic·1y

    Publish your Flutter app to Google Play Store with Codemagic CI/CD

    Learn how to streamline the process of releasing your Flutter app to the Google Play Store using Codemagic CI/CD. This guide walks you through the steps to automate your app uploads, set up necessary configurations, and create an efficient workflow for app development and release.