Skip Navigation
Flutter

Flutter and the related logo are trademarks of Google LLC. We are not endorsed by or affiliated with Google LLC

Members
754
Posts
64
Active Today
1
Created
2 yr. ago
  • Flutter @programming.dev
    Zujaj Misbah Khan @me.dm

    🧩 Exploring dynamic vector image coloring in Flutter?

    🧩 Exploring dynamic vector image coloring in Flutter?

    Part 2 of my ImageColorSwitcher series @Medium article delves into SVG handling using the fluttersvg package, demonstrating how to apply color filters and handle interactive coloring.

    If you're building themeable UIs or visual editors, this might be for you.

    🔗 ImageColorSwitcher in Flutter: Part 2-Vector Image Coloring
    https://medium.com/gitconnected/imagecolorswitcher-in-flutter-part-2-vector-image-coloring-97509fd6a90a

    @flutter @FlutterComm #MobileApps @android @thepracticaldev #android #app #ui #technology [#foss](https://me.

  • Flutter @programming.dev
    Zujaj Misbah Khan @me.dm

    🖼️ Want to build dynamic color filters for images in Flutter?

    🖼️ Want to build dynamic color filters for images in Flutter?

    In this @Medium article, I walk through raster image color manipulation using ColorFiltered, BlendMode, and custom sliders — all explained with visuals and Flutter-native logic.

    Perfect for devs building interactive image apps or theme switchers.

    🔗 ImageColorSwitcher in Flutter: Part 1 Raster Image Coloring --https://levelup.gitconnected.com/imagecolorswitcher-in-flutter-part-1-raster-image-coloring-90f2cd0c8788

    @flutter @FlutterComm #MobileApps @android #android @thepracticaldev #ui #apps [#color](https://me.dm/t

  • Flutter @programming.dev
    Nemeski @lemm.ee
  • Flutter @programming.dev
    Nemeski @lemm.ee
  • Flutter @programming.dev
    jwr1 @kbin.earth

    Highlights

    • Hot reload on the web (Experimental).
    • New Expansible widget that makes it easier to create widgets that expand and collapse.
    • Many Material and Cupertino additions.
    • Several accessibility improvements.
    • Progress on multi-window support.
    • Desktop thread merging.
    • New Flutter Property Editor for IDEs.

    Dart update here: https://kbin.earth/m/[email protected]/t/1358229

  • Flutter @programming.dev
    Enjoying FOSS @programming.dev

    go_router custom transition performance

    I'm trying to implement the OpenContainer transition for go_router in Flutter. It seems like no matter what I do, the end result is choppy. :/

    I'm using the native Transition widgets as well as the relatively new SnapshotWidget, but to no avail. Should I maybe use a custom painter? Would that improve performance?

    Please take a look at the code below and let me know if you see any ways that I could improve performance.


    Here's my attempt at an OpenContainer transition for go_router:

     undefined
        
    import 'package:flutter/material.dart';
    import 'package:your_project_name_xxx/ui_models/container_transition_extra.dart';
    
    class ContainerTransition extends StatefulWidget {
      final ContainerTransitionExtra extra;
      final Animation<double> animation;
      final Widget? sourceWidget;
      final Widget targetWidget;
    
      const ContainerTransition({
        super.key,
        required this.extra,
        required this.animation,
        required this.sourceWidget,
        required this.targetWidget,
      });
    
      @override
      State<C
      
  • Flutter @programming.dev
    Nemeski @lemm.ee
  • Flutter @programming.dev
    Rexios @lemm.ee

    Hive CE 2.11.0-pre: Introducing IsolatedHive for Safe Multi-Isolate Usage!

    Hey Flutter devs! I'm excited to announce the release of Hive CE v2.11.0-pre, introducing a new interface called IsolatedHive—a safe way to use Hive across multiple isolates.

    What's New:

    • IsolatedHive Interface: Enables safe Hive usage across isolates by maintaining its own dedicated isolate for database operations. It utilizes an IsolateNameServer behind the scenes to locate the Hive isolate.
    • Flutter Integration: Simply call IsolatedHive.initFlutter from hive_ce_flutter to automatically set things up to use Flutter's built-in IsolateNameServer.
    • Generated Extensions: The latest hive_ce_generator now provides the same easy-to-use registerAdapters extension on IsolatedHive.

    Why Use IsolatedHive?

    You might already be using isolates without realizing it! Common Flutter scenarios benefiting from isolate-safe Hive:

    • Desktop apps with multiple windows
    • Background task handling (flutter_workmanager, background_fetch, etc.)
    • Push notifica
  • Flutter @programming.dev
    Rexios @lemm.ee

    Simplify Dart & Flutter Isolate Communication with isolate_channel

    Hi everyone!

    I've just released a new Dart package: isolate_channel. It provides a simple and familiar API for handling communication between Dart isolates, directly inspired by Flutter's MethodChannel and EventChannel APIs used for native plugin communication.

    If you've ever found Dart isolate communication cumbersome or unintuitive, isolate_channel streamlines this process, making it feel as straightforward and familiar as working with Flutter plugin channels.

    I built this package to prepare for upcoming isolate support in Hive CE, and it made that work a lot easier!

    Check it out here: isolate_channel

    I'd love your feedback or contributions!

  • Flutter @programming.dev
    jayemar @lemm.ee

    Script for Flutter Doctor to recognize Android Studio flatpak

    cross-posted from: https://lemm.ee/post/56160274

    I install Android Studio via flatpak, and this can cause flutter doctor to not be able to determine the version or to not recognize the installation at all. I've managed a hacky fix for this by running a few commands that I run as a simple script that I'm sharing here. If you use this, just close Android Stuido after it is opened; it seems to just need to be opened once in order to be recognized by flutter doctor.

     sh
        
    #!/bin/bash
    
    flutter config --android-studio-dir=/var/lib/flatpak/app/com.google.AndroidStudio/current/active/files/extra/android-studio
    
    /var/lib/flatpak/app/com.google.AndroidStudio/current/active/files/extra/android-studio/bin/studio
    
    flutter config --android-studio-dir=""
    
    flutter doctor
    
      
  • Flutter @programming.dev
    Nemeski @lemm.ee
  • Flutter @programming.dev
    jwr1 @kbin.earth

    After considering the opportunity cost — in particular, the features we could be shipping to the community instead — we’ve made the difficult decision to stop our work on macros.

  • Flutter @programming.dev
    Nemeski @lemm.ee

    Bringing multiple windows to Flutter desktop apps

  • Flutter @programming.dev
    Canopas Software @programming.dev

    GroupTrack – Your Family’s Safety Companion! 👫

    Crafted with love and powered by Flutter, GroupTrack ensures your family stays connected and secure.

    With a sleek design and solid architecture, GroupTrack keeps your loved ones close effortlessly — no matter the distance.

    Features You'll Love:

    • Create & Join Spaces
    • Live Location Tracking & Sharing
    • Place Notifications & Real-Time Chat

    Available now on Play Store! 👇

    https://play.google.com/store/apps/details?id=com.canopas.yourspace

    Upcoming Security Enhancements

    We’re stepping up our game to prioritize your privacy with:

    ✔ Signal Protocol for secure data transmission

    ✔ AES-256 Client-Side Encryption

    ✔ Zero-Knowledge Architecture for utmost privacy

    ✔ Unique Encryption Keys per user and space

    Let’s keep your loved ones close, connected, and safe! ❤️

    We value your feedback and ideas to make it even better!

    Explore the Project!! 👇

    https://github.com/canopas/group-track-flutter

  • Flutter @programming.dev
    Canopas Software @programming.dev

    Cloud Gallery: All Your Memories in One Spot

    Hey Flutter Devs!!

    Say hello to Cloud Gallery—your new favorite way to manage photos and videos!

    The open-source Flutter app offers seamless Google Drive and Dropbox integration, ensuring your memories stay safe, organized, and always within your reach.

    Key Features 🌟

    • Sync Across Platforms with Automatic Backups
    • Effortless File Transfers and Organized Storage
    • Cross-Device and Cross-Platform Compatibility
    • Secure and User-Friendly Experience

    Available now on both Android and iOS!

    We’d love to hear your thoughts and ideas to improve Cloud Gallery!

    Explore the Project!! https://github.com/canopas/cloud-gallery

  • Flutter @programming.dev
    shaked_coffee @feddit.it

    Installing flutter on linux immutable distro

    Hi! I'm a flutter developer and I've recently switched from Ubuntu to Bluefin (based on Fedora Silverblue) I was trying to install flutter and all the dependencies it asks for when running flutter doctor and while for clang++, cmake and ninja I have been able to install them with Homebrew (brew install llvm cmake ninja) and the warning went away, flutter seems not to detect GTK 3.0 development libraries when installed through homebrew (brew install gtk+3)

    After having looked a little bit online, I've seen that the problem is probably that it's searching the libraries in the wrong place and in fact even when I run pkg-config --modversion gtk+-3.0 I see the library as missing. Therefore, I tried setting the PKG_CONFIG_PATH env variable to the folder where brew installed my libraries (/home/linuxbrew/.linuxbrew/opt/gtk+3/lib/pkgconfig) and after that the output of the pkg-config program above is the one expected. However, this doesn't seem to

  • Flutter @programming.dev
    Rexios @lemm.ee

    🚀 Hive CE 2.8.0 Released: Streamlined Code Generation with GenerateAdapters & New Migration Tool!

    Hello Flutter community! I am proud to announce that I have released the largest update to Hive Community Edition yet. Version 2.8.0 adds support for the new GenerateAdapters annotaiton which greatly improves the code generation experience. With the GenerateAdapters annotation, you only specify the classes you want to generate adapters for. No more manually annotating every type and field and keeping track of their IDs.

    I also developed a migration tool to help transition from the old annotations. This migration tool makes sure your model classes do not have commmon issues that would result in data integreity issues and then generates the necessary files.

    You can see the documentation for the update here: https://pub.dev/packages/hive_ce#store-objects

  • Flutter @programming.dev
    Mathias Hasselmann @mastodon.green

    Maybe we should have switched to C#, , or @slint, instead of porting from #Qt5 to #Qt6.

    Maybe we should have switched to C#, @flutter, or @slint, instead of porting from #Qt5 to #Qt6.

    @qt

    Programming #CPlusPlus #Sigh

  • Flutter @programming.dev
    Rexios @lemm.ee

    Seeking feedback on a much easier method of generating Hive TypeAdapters

    Hello! I'm the maintainer of Hive Community Edition.

    I am proposing to introduce a new annotaiton called @GenerateAdapters. This allows you to generate TypeAdapters for types without explicitly annotating any types or fields. This is much easier to maintian and also allows generating adapters for types outside the current package.

    For example:

     dart
        
    @GenerateAdapters([
      AdapterSpec<ClassSpec1>(),
      AdapterSpec<ClassSpec2>(),
      AdapterSpec<EnumSpec>(),
    ])
    void _() {}
    
      

    This will generate type adapters for all the types specified. The main difference between using @GenerateAdapters and explicit annotations is that type IDs and field indexes are determined automatically. This information is then stored in a hive_schema.yaml file which informs future generations which type IDs and field indexes are in use.

    My main concern is introducing this feature in a way that allows any future changes to be non-breaking. I believe I have eliminated mo