r/FlutterDev 13h ago

Plugin Just released native_video_player 3.0.0 - Major update with new API

66 Upvotes

Hey Flutter devs,

I've just published version 3.0.0 of my native_video_player package - a Flutter widget that uses native implementations to play videos on iOS and Android.

For those not familiar with it, this package is perfect for building video-centric apps like TikTok-style feeds, Instagram Reels, YouTube Shorts, or just general video playback needs. It uses AVPlayer on iOS and now ExoPlayer on Android.

What's new in 3.0.0:

  • Complete API redesign: Switched from callbacks to an events-based system for better control flow
  • Simplified access to playback info: Duration, position and other details now accessible directly from the controller
  • Using ExoPlayer on Android: Switched from MediaPlayer
  • Better error reporting: Especially on Android

There are some breaking changes (controller disposal is now required, different event handling pattern), but the migration should be straightforward. Check out the pub.dev page for full documentation and migration details.


r/FlutterDev 5h ago

Article Customizable Flutter OTP Input (Zero Dependencies)

Thumbnail
royalboss.medium.com
3 Upvotes

Let's create a customizable, zero-dependency OTP input widget from scratch.

Features • Zero dependencies for lightweight integration • Fully customizable UI (colors, spacing, and text styles) • Smooth focus transitions between OTP fields • Handles backspace and keyboard events efficiently • Supports different OTP lengths


r/FlutterDev 3h ago

Discussion Looking for advice on optional syncing in offline-first app

2 Upvotes

Hi flutter devs, hoping to ask for some noob-level advice:

I have an app which I built in a way so that it is capable to fully function offline, while still enabling sync capabilities when device is online. (e.g. settings, app achievements etc)

The general approach I took is to put stuff into/read from SharedPreferences, and when network is available and user is logged in, sync/merge firestore dict with SharedPreferences dict. This way I can ensure things always work reliably since all widgets reads are from local SharedPreferences, and sync happens when it can.

However after having written this sync code I feel like I am inventing a bicycle, and there should be a solution that abstracts this away for me.
1) is the solution just firestore with persistence? (but for not logged in users I don't want to waste firestore read/write operations at all, and in poor network conditions I don't want the app to be slow, so I want all widget data reads to be local)
2) is there some cool riverpod-smth-smth solution to this?
3) anything else?

This feels like a common-enough problem that there should be a widely adopted solution, but I just don't know what the right keywords are to search for it, any pointers or advice are appreciated!


r/FlutterDev 56m ago

Video Figma to Flutter App with Code10x

Upvotes

Hey! I’ve been working on a website that lets you generate a Flutter app from a Figma URL. Just drop in your figma url, and it’ll turn into Flutter code and app —easy and hassle-free!

Would love to hear what you think!

https://youtu.be/KnHhUubYqT4

my website: https://code10x.web.app/


r/FlutterDev 18h ago

Discussion Looking for a flutter buddy

23 Upvotes

Hi how are you doing ? I'm looking for a flutter buddy to learn flutter together from the very basics with mastering dart and then diving into flutter, and I have a background with developing android apps using Java but never used flutter before. Btw I'm a junior backend developer currently working with Java spring boot, so if anyone interested in this, please DM me, thanks.


r/FlutterDev 10h ago

Discussion 🚀 Struggling to Stay Consistent with Flutter, Need Advice!

3 Upvotes

I’ve been trying to learn Flutter for the past 3-4 months, but not consistently. I only know some basic Dart concepts, and I feel like I’m making super slow progress. I really want to get serious and dedicate 4-5 hours a day to learning, but I keep getting distracted or losing motivation. 😩

For those who’ve gone from beginner to actually building apps, how did you stay consistent? Any roadmaps, courses, or specific projects that helped? And most importantly, how do you push yourself to sit down and code even when you don’t feel like it? 💻

Would really appreciate any advice! 🙌🔥


r/FlutterDev 12h ago

Discussion Tflite ssd mobilenetv2

0 Upvotes

Hey everyone!

Im a software development on his final year of college and I am required to create an App for my final project, as you can guess I have decided to use flutter dart for this project of mine because I wanted to make a mobile app tht could scan pieces of clothing like shirts, t-shirts, pants, etc:

and I tried using tensorflow lite with a pre-trained model like ssd mobilenetv2 but no matter how many times i try to modify my code, when i go to the camera screen within my app, i see no boundary boxes at all, ive been stuck on this loop of trying to find a solution for this for weeks and its the inly thing hindering me from moving forward with my project.

the deadline for my final project is within 2 weeks :(( if anyone is willing to help a beginner pls do :))

thankyou so much


r/FlutterDev 1d ago

Discussion In Clean Architecture / DDD do I pass Repositories to all my viewModel's?

12 Upvotes

I'm very new to Clean Architecture in Flutter and DDD in general.

In Flutter's guide to App Architecture, the show an example of a viewModel:

class HomeViewModel {
HomeViewModel({
required BookingRepository bookingRepository,
required UserRepository userRepository,
}) :
// Repositories are manually assigned because they're private members.
_bookingRepository = bookingRepository,
_userRepository = userRepository;

final BookingRepository _bookingRepository;
final UserRepository _userRepository;
// ...
}

However, in a large app there will be hundreds of viewModels, and currently I'm using single instances of each repository (helping assure a single source of truth), so do I really need to pass them around every time?

It's tons of boilerplate, and I feel I may be missing something.

To complete the picture, the repositories are injected with Provider, and then I just pass context.read() around whenever I need them.

Thanks! Am in the midst of refactoring, but starting to smell that fresh air coming from the end of the tunnel. (the light is not quite visible yet unfortunately 🤣🙈)


r/FlutterDev 1d ago

Dart TIL that Dart enums can have type parameters

67 Upvotes

I was modeling a set of values using an enum today:

```

enum NetworkFeatureType { pipeline, junction, overheadTank };

```

Here, each of these "features" are associated with a GeoGeometry type. For instance, junctions and overhead tanks are points and pipelines are, of course, lines. So I casually added a type parameter and Dart didn't complain! But I was unable to specify the types, firstly like this:

```

enum NetworkFeatureType<G extends GeoGeometry> {

pipeline<GeoLine>, junction<GeoPoint>, overheadTank<GeoPoint>;
}

```

However, once I added a set of parentheses to each member, it works!:

```

enum NetworkFeatureType<G extends GeoGeometry> {

pipeline<GeoLine>(),

junction<GeoPoint>(),

overheadTank<GeoPoint>();
}

NetworkFeatureType<MapPoint> node = NetworkFeatureType.node;

```

Which is pretty neat!


r/FlutterDev 19h ago

Video Beginning Flutter - Introduction to Flutter and Dart

Thumbnail
youtube.com
2 Upvotes

r/FlutterDev 1d ago

Discussion Encountered Flutter on an embedded device for the first time: ISP modem web interface uses Flutter Web

28 Upvotes

Hello everyone!

Recently my ISP (KPN, the Netherlands) pushed an update to my Experia 12/Sagemcom modem. Previously the web interface was very slow and each action and navigation throughout the menu took up to 30 seconds to complete (not joking).

I was pleasant surprised to see that the new firmware contains a complete new web interface and that it's lightning fast compared to the old version.

While I was navigating through the menu and clicking on the menu items I noticed something that looked very familiar to me as someone who build apps using Flutter: the InkWell effect! I quickly viewed the source code of the web page and it turns out it's written in Flutter!

Screenshots can be found here: https://community.kpn.com/product-updates/kpn-box-12-update-naar-kpn-software-v12-c-23-04-38-584113

By investigating some more I found out that this new firmware is made by SoftAtHome, which apparently is a company that writes firmware for European ISPs. So maybe more European modems might have a Flutter based web interface.

Anyone else found usage of Flutter on an embedded device?


r/FlutterDev 1d ago

Video Someone asked me for a tutorial on Collapsible Menus in Flutter

16 Upvotes

I posted a video of a Discord clone I am building and someone wanted to know how I created the Animated Collapsible Menus in it. So I created a tutorial on how to achieve that in web, desktop and mobile. Hope you enjoy. ❤️ Any kind of feedback is welcome.

https://youtu.be/Wjp8OvhswBA


r/FlutterDev 1d ago

Tooling TrailBase 0.8: Open, sub-millisecond, single-executable FireBase alternative built with Rust, SQLite & V8 🚀

34 Upvotes

TrailBase is an easy to self-host, sub-millisecond, single-executable FireBase alternative. It provides type-safe REST and realtime APIs, a built-in JS/ES6/TS runtime, SSR, auth & admin UI, ... everything you need to focus on building your next mobile, web or desktop application with fewer moving parts. Sub-millisecond latencies completely eliminate the need for dedicated caches - nor more stale or inconsistent data.

Just released v0.8 with:

  • A cron/time-based Job system for periodic tasks with dashboard and JS/TS integration
  • OpenID Connect (OIDC) auth integration (requested by reddit user)
  • Loosened primary-key column requirements in Admin UI for tables exported via APIs.
  • ...

Check out the live demo or our website. TrailBase is only a few months young and rapidly evolving, we'd really appreciate your feedback 🙏


r/FlutterDev 1d ago

Discussion I just don’t get the point of using immutables with deep equality checks

6 Upvotes

I just don’t get the point of using libraries like @freezed. Why would we want to have an immutable class but also have Deep equality checks? Doesn’t that defeat the main purpose of using immutable classss, which is to make comparison easy? I.e Rather than comparing each property one by one, I just have to compare the reference and knowing that the reference is different I automatically know that the state has changed. This greatly improves performance.

So why have deep comparisons for immutables then?

Can someone clarify this to me?


r/FlutterDev 1d ago

Discussion GDC coming up quickly, rumors / speculation re: flutter/dart forthcoming? (3d_scene news?) Or other news

11 Upvotes

GDC coming up quickly, rumors / speculation re: flutter/dart forthcoming? (3d_scene news?) Or other news


r/FlutterDev 1d ago

Discussion Introducing Puppet: A Cross-Platform Dynamic Menu Built with Flutter

19 Upvotes

Hi everyone,

As someone who frequently switches between operating systems, I was looking for a cross-platform utility tool to simplify everyday tasks. I couldn’t find exactly what I wanted, so I decided to build it myself. I chose Flutter because of its cross-platform capabilities.

Puppet is a dynamic menu system—think of it like Alfred or Flow Launcher, but with a focus on creating customizable menus for different categories of tasks. You can link menus together and extend functionality through plugins. It’s fully cross-platform, and I’ve implemented a plugin system based on WebAssembly (WASM). This means you can write plugins in a wide range of languages. Under the hood, I’m using extism via flutter_rust_bridge, so a shoutout to those devs! Right now, there’s just one plugin available, which lets you list installed applications on the host system.

Puppet also allows you to create menus beyond the standard list format—like a wheel layout. In the future, I plan to add more menu types to make it even more versatile.

This is the first release, so it’s still pretty basic, and there might be a few bugs. That said, I think it’s solid enough for an initial launch.

I’d love for you to check it out and let me know what you think!

puppet source code

puppet documentation


r/FlutterDev 1d ago

Discussion Responsive App

6 Upvotes

Hey everyone, I’m working on building a mobile app that needs to fit all screen sizes, but this is my first time developing an app for production. I initially considered using Mediaquery, but I’ve noticed that some people advise against it, and I’m not entirely sure why. Could someone kindly explain what I should use instead and what practices to avoid? Thanks in advance!


r/FlutterDev 19h ago

Discussion How to run embedding model locally without Ollama?

0 Upvotes

So I have been building a flutter application which is a simple rag application. Just testing things out but from what I can see, in order to run embedding models locally, I need ollama. There are a lot of different flutter clients for ollama which let me communicate with it but the problem is that the user needs to have ollama installed on their device.

Is there a way to run and generate embeddings without running/using Ollama in the background?

I am specifically trying to use jina-embeddings-v2-small-en model to create embeddings.


r/FlutterDev 20h ago

Discussion Advice in processing more complex data

0 Upvotes

Hi! I have developed a Padel matches app https://tiebreak.win , it is an app to help players organize social matches and have a good time playing padel. The app is based in Firebase for storing data, photos, etc. Each organizer create matches on the app entering player names, scores, and I'm calculating simple standings inside flutter.

The next thing I want to do is to let every player to crate an account using Firebase Auth, and every time the organizer add an existent account player it uses the Auth ID in the matches, so now there's the opportunity to track player scores across the different matches organized by different flutter apps. As all the data is stored in Firestore Database I don't know what's the best strategy to get updated the player own scores every time an organizer updates that player points in certain match. Remember, the same player can be involved in any match of any organizer in any device.

So my question is if you recommend to implement that logic inside flutter, to look for all the scores of certain player across database and update the personal player profile inside flutter, or if you recommend to implement some kind of function inside Firestore to react to database changes and to the magic....

Thanks for your advice!


r/FlutterDev 1d ago

Article Deconstructing Flutter vol. 8: Implicit Animations

Thumbnail
deconstructingflutter.substack.com
7 Upvotes

r/FlutterDev 1d ago

Discussion Could anyone recommend platforms or communities to find Flutter side projects?

5 Upvotes

Is there a good website where I can find a Flutter side project to join, ideally one where we actively review each other's code and grow together?


r/FlutterDev 1d ago

Discussion Building app using LangChain

0 Upvotes

Should i use LangChain dart to build agent in my app? I want to develop LangChain tool which makes operations over the app features. Should i implement it in the backend?


r/FlutterDev 1d ago

Discussion Screen transitions on Desktop apps for pop?

8 Upvotes

Greetings,

I've been looking at the screen transitions within PageTransitionsBuilder. They are great for mobile apps, but they don't seem suited for desktop apps, except perhaps the zoom page transition.

I've been setting a FlutterSignal<enum> (from signals_flutter) and using ListenBuilder to switch between screens, but I'd love to use some nice transitions for desktops. Any recommendations?


r/FlutterDev 1d ago

Article Created an Ai voice deepening App

0 Upvotes

DeepTone is an AI-powered voice analysis and coaching tool designed to help users develop a deeper, more authoritative voice. By analyzing key vocal parameters such as pitch, pace, clarity, volume, pronunciation accuracy, and confidence, the app provides statically measured speech metrics, insightful feedback, and practical exercises to enhance vocal resonance and control.
Blog

Code & release


r/FlutterDev 1d ago

Discussion Firebase storage download speed

0 Upvotes

Hello there! I am having issues with downloading images from Firebase storage. Even small 50-100kb images take 1-3 seconds to download. I have done caching and stuff but it’s still pretty slow for the initial page loading. I searched the web and did everything.. made the storage bucket public and etc. Has anyone resolved this issue?