r/FlutterDev • • Jan 15 '19

Dart Google's AI does not like Dart.

Post image
114 Upvotes

r/FlutterDev • • Jun 24 '25

Discussion Share your flutter app !

113 Upvotes

Hello guys,
Flutter framework is very popular nowadays, please share your flutter projects in order to see what products actually can be built with FLUTTER !!!
Thank you community for sharing


r/FlutterDev • • Aug 07 '23

Plugin Introducing Newton, a particle emitter for Flutter

113 Upvotes

I'm excited to release my first package on Flutter: Newton!

Newton is a highly configurable particle emitter package for Flutter that allows you to create captivating animations such as rain, smoke, explosions, and more.

You can try the effect configurator here: https://newton.7omtech.fr/docs/configurator/

Documentation: https://newton.7omtech.fr

Github repo: https://github.com/tguerin/newton

Package: https://pub.dev/packages/newton_particles

Any feedback is more than welcome

Edit: Just released v0.1.2 with huge performance improvements, thanks u/timv_simg for the feedback


r/FlutterDev • • Sep 05 '22

SDK kIsWeb - how it works

113 Upvotes

I just find it super funny how this pretty well known and much used constant is implemented. If you haven't check the implementation yet, you should.

https://api.flutter.dev/flutter/foundation/kIsWeb-constant.html


r/FlutterDev • • May 30 '21

Plugin We implemented in app reviews and you should too (rate_my_app package)

113 Upvotes

Two months ago, we integrated the rate_my_app package which allows our users to give ratings without leaving the app. Since then our situation with ratings and reviews improved dramatically.

  • All time high of reviews gained per week increased from 9 to 43 - while traffic to our app was decreasing.

  • The cumulative rating increased from 4.47 to 4.79. In app reviews are a great way to hear from the majority of your user base - happy quiet users.

That's all - except - cheers to the package author!


r/FlutterDev • • May 30 '20

Example A Completed Functional Flutter App - FindSeat (BLoC + Json API + Unit Test + Firebase Auth)

113 Upvotes

I’m Android Developer and I’m working in a software company in Vietnam. I have experience in both kind project: outsourcing project and product project. I decided to study Flutter, because I believe it’s promised in future. As experienced developer, I care about clean architecture, testing, performance and maintainability that why I keep searching for an example of completed application. Unfortunately, community now full of project such as speedcode, UI challenges, … it’s just small pieces of real world application. In fact, most of the project doesn’t have fancy UI like that. That why I build this project by myself and now share it to the community, I hope you can get something from it then apply to your work.

The first version of project (v1.0) is just about UI + simple logic. In this version v2.0, I applied BloC pattern by using Flutter Bloc to project and also have unit tests for it. I also built simple Mock API for the app, it just static json file uploaded to a my private hosting. I hope I have time to do cache local data by SQLite but I have not, so hope next version will be soon available.

Check the soure code here

https://github.com/KhoaSuperman/findseat


r/FlutterDev • • Dec 22 '19

Plugin Hive v1.2.0 supports relationships, inheritance and more.

113 Upvotes

I just published a new version of Hive (key value database for Flutter) and wanted to show you how relationships work:

class Person extends HiveObject {
  String name;

  HiveList<Person> friends;

  Person(this.name);
}

void main() {
  var persons = Hive.box<Person>('persons');

  var mario = Person('Mario');
  var luna = Person('Luna');
  var alex = Person('Alex');
  persons.addAll([mario, luna, alex]);

  mario.friends = HiveList(persons); // Create a HiveList
  mario.friends.addAll([luna, alex]); // Add Luna and Alex to Mario's friends
  mario.save(); // Persist the changes
  print(mario.friends); // [Luna, Alex]

  luna.delete(); // Remove Luna from Hive
  print(mario.friends); // [Alex] (HiveList updates automatically)
}

You can also find this example in the documentation.

The new version also allows abstract HiveObjects and supports inheritance between HiveObjects.


r/FlutterDev • • Nov 22 '19

Community Recap: Google's BIG challenge, Make your Flutter app look gooooood 😍

113 Upvotes

Hey, everyone! Here's a recap of what's been happening over the past couple of weeks in the Flutter-verse.

We talk a lot about things like state management, so this time around we decided to highlight some of the awesome stuff Flutter allows us to do to make our apps look good and work well.

Love it? Hate it? Let us know in the comments!

Want to get it by email? Click here.

____

Your Flutter app needs to look good and feel great

We've all had designers that have asked for things that were just wayyyyy too complex. Thankfully, Flutter gives us some awesome tools that make it much easier to say “yes” to designers while keeping your code 💪

  • Export Flutter code from Zeplin...ever gotten a Sketch or Photoshop file from a designer and then had to manually figure out colors, sizes, etc? Yeah, it’s a pain in the a**. Thankfully, if you use Zeplin, there’s a great extension from Roberto Juarez that will automatically generate Dart code you can use in your Flutter app.

  • Easier Styling with Division...as you work with Flutter, you’ll undoubtedly run into some awkwardness with styling, whether it’s inconsistencies in how exactly you style different things (ex: centering vs. font size) or sharing styles among multiple widgets. The Division package from Rein Bentdal aims to make it a whole lot easier using CSS-inspired syntax. Need a video tutorial? Look no further.

  • Cupertino “Stack View” is coming/already here...we’ve heard it called by many names: stack view, sheet presentation and more, but you’ve undoubtedly seen this view style if you’ve used iOS 13. While it’s been accepted as a future inclusion in the Cupertino package, a fellow Flutter community member created the cupertino_stackview package to make it a reality now.

Theming in Flutter...

  • 🌑 If your app doesn’t support Dark Mode, it sucks…okay, just kidding but dark mode is a feature that will most likely come to be expected in the future given that it’s now an OS-level option. So how do we do it in Flutter? In this video, Paul Halliday shows you how it's done using Provider.

  • Want to create your app’s theme visually?...check out the Panache theme editor. Start with a base palette, customize each widget style to your heart’s content and then copy the generated code. Done!

____

🎢 Animate all the things…

Animation is a powerful thing. Used too much and it can ruin a perfectly good app, but used just right, it can add a whole new dimension to the user experience. Intrigued? See the list below for animation tutorials for both the novice and the elite.

  • Understand the basics...with this video from, you guessed it, Resocoder. Matej does a great job of explaining the basics of Flutter animations.

  • Want to really understand animations in-depth?...curves, scenes, intervals...oh my! Didier Boelens does it again with this deep-dive into the many components of animations and how they all tie together. We'll wait while you read that...Now that you’ve read the article and mastered the essentials, you’re ready to get nuts. Sit down, grab a beverage and take some time to go through this truly awesome series from Marcin Szałek as he rebuilds a complex, animated UI based on this dribble by Anton Skvortsov.

Bite-sized animation lessons from the Flutter team...

  • Implicit Animations…an intro to Flutter’s animated versions of existing widgets, such as AnimatedContainer. These implicitly animated widgets are the quickest way to add animation to your Flutter app without a fuss.

  • TweenAnimationBuilder...need to animate a widget that doesn’t have an animated version already? No problem. TweenAnimationBuilder allows you to create your own implicit animations with ease. Rant: this one really brings me back to the days of Flash. If you don’t know what I’m talking about, then I’ve really dated myself.

  • AnimatedCrossFade...last week's Widget of the Week. Add a “cinematic” transition to your app by easily cross-fading from one widget to another.

____

🐦 BIG news from the Flutter-verse!

Google announced a challenge to build a...wait for it...wait for it...a clock face! Yep, that’s right.

If you saw this tweet, like many of us, you were probably stoked at the possibilities. Could it be that Flutter Web is coming out of technical preview? Wearable support? The release of Flutter 2.0?!?!

Nope. Okay, enough sobbing.

The TL;DR is that Google partnered up with Lenovo to have you fine folks create a “clock face UI” for Lenovo’s Smart Clock (using Flutter, of course). Submissions are due January 20, 2020, and there are some nice prizes up for grabs, including an iMac Pro valued at ~$10,000.

Full details here...

____

Stuff we couldn't fit into other sections...

  • People like Flutter...according to the Flutter Q3 survey, over 92% of respondents were either somewhat satisfied or very satisfied with Flutter.

  • Widget of the Week...the DraggableScrollableSheet! Need to drag a widget into view and have it be scrollable? This one’s for you.

  • Want to speed up your Flutter Driver tests by 750%?!...check out this article from Tomek Polański where he describes some of the pitfalls of working with Flutter Driver but more importantly...how to fix them and speed up your tests in the process!

  • Pros and Cons of State Management Approaches...another day, another article about state management. Is this all the Flutter community talks about?! 🤣 In all seriousness, given the vast number of state management solutions available, it can be difficult to choose one for your app. This is exactly why this article from Scott Stoll is worth your time.

____

Flutter events from across the world 🌍

Europe and Russia have some awesome Dart/Flutter-focused conferences kicking off soon. The North American folks are still waiting for a proper Flutter conference.

  • DartUP is right around the corner...join 250+ developers in St. Petersburg, Russia to talk all things Dart + Flutter.
    When: Nov 23rd, 2019
    Where: St. Petersburg, Russia
    Details here…

  • Interact is almost here...and streaming live across the world! Maybe Google gives us all a nice holiday surprise?
    When: Dec 11th, 2019
    Where: Brooklyn, NY, USA (but streaming live!)
    Details here...

  • Did you apply to go to Interact and didn't get an invite (neither did we)?...as a consolation to those that lost out, Google sent out a link to find viewing parties in your area. More here

  • There ain’t no party without a pre-party... 🎉 Very Good Ventures, the Flutter OG, is holding a Flutter Interact pre-party.
    When: Dec 10th, 2019
    Where: Brooklyn, NY, USA
    Details here…

  • Flutter Europe...this one has booked Flutter superstars Filip Hracek (Google), Emily Fortuna (Google) and Provider guy, and answerer of 1-billion StackOverflow questions, Remi Rousselet.
    When: Jan 23rd - 24th, 2020
    Where: Warsaw, Poland
    Details here…

____

Get a job with the Flutter OG 👊

Very Good Ventures, creators of the Hamilton app (one of the first “big name” apps built w/ Flutter) has a number of open positions in New York City.


r/FlutterDev • • Apr 19 '25

Plugin pub.dev: no_overtime - No more overtime for Flutter dev

112 Upvotes

No more overtime. Go home early & enjoy your life!

Features

  • Throws a StateError if in the weekend (Saturday or Sunday).

  • Throws a StateError if outside your working hours.

  • Throws a StateError if start time >= end time (haha, troll).

  • Only active in DEBUG mode.

Usage 

void main() {
NoOvertime.config(
start: TimeOfDay(hour: 9, minute: 0),
end: TimeOfDay(hour: 17, minute: 30),
);

runApp(MyApp());
}

Rest, my bros! Enjoy our life!

https://pub.dev/packages/no_overtime


r/FlutterDev • • Jan 08 '25

Article Built my first Flutter app as a JS Web developer - Here's my experience

112 Upvotes

As a Web developer with years of experience, I recently soft-launched my first Flutter app on the App Store. While I've been working with React for years, I decided to try Flutter for this side project and used the Cupertino (iOS) style throughout. I wanted to share my experience while everything is still fresh in my mind.

First thing - I love Dart language. After years of JS/TS, picking up Dart was super easy, almost no learning curve at all. Swift was a different story though - I had to spend quite a bit of time reading docs and learning new stuff.

About the UI part - Flutter's way of building UIs with Widget is quite different from how JSX mixes HTML and JS. I heard people complaining about Flutter's nesting issues before I started, but it wasn't really a problem for me since I already had the habit of breaking down components in React. The code looks a bit verbose at first, but it's actually pretty readable once I get used to it. Plus, it's really nice not having to mess with CSS for styling!

Here are the key technologies I used in this project:

  • Pigeon for bridging Swift and Flutter code (CoreData, CloudKit, EventKit, StoreKit) I implemented around 50 Swift interfaces. The lack of hot reload when working with native code made debugging quite time-consuming, especially when troubleshooting issues that required multiple iterations.

  • WidgetKit for iOS widgets support This was my first time using Live Preview for UI development, and I struggled to get comfortable with it. Xcode's overall experience wasn't great either - but that might be because I'm spoiled by VS Code.

  • Riverpod for state management I didn't spend much time choosing a state management solution and went with Riverpod as it was the most popular option. However, I found its documentation a bit challenging for beginners - it took me some time to understand its API design.

  • SQLite for local data storage

  • Sentry for error tracking

  • FL Chart for data visualization

  • Screenshot and share_plus for subscription list sharing and local saving

The Flutter ecosystem is pretty good overall. While I did run into some problems with third-party libraries, I usually found solutions in GitHub issues. I even submitted two PRs to help fix some libraries I was using (still waiting for them to be merged though).

Flutter's form handling was a bit challenging for me. Unlike JavaScript, which offers more flexibility, Dart’s strongly-typed nature made form handling feel cumbersome. Im using flutter_form_builder, but it didn’t fully solve my issues. In this regard, JavaScript’s dynamic typing seems to have a natural advantage.

If you’re a React/JS developer considering trying Flutter, here’s what I’d say:

  1. If you’re coming from JS/TypeScript, Dart will feel familiar and comfortable.

  2. The widget-based UI system might feel odd at first - especially when you encounter utility widgets like Padding and Align. However, once you get past that initial learning curve, it provides excellent maintainability and type safety.

  3. The development experience is fantastic, especially with Flutter’s hot reload (except for native code changes).

  4. It's nice not having a messy project root directory. My JavaScript projects always end up with tons of config files like eslint, prettier, tsconfig, viteconfig and more.

  5. The learning curve for web developers is surprisingly gentle.

If you’re interested in seeing the result, my app ShelfIt is currently soft-launched on the App Store. It's a minimalist subscription management app with a clean design. Besides the common subscription tracking features, I've added the ability to search and share your subscription lists. Of course, there might be some bugs - I'd really appreciate it if you could let me know if you find any! You can check it out here: link.

Feel free to ask any questions about the development process, Flutter implementation, or the app itself.


r/FlutterDev • • Sep 15 '21

Discussion Is there someone out there that also hates firebase?

112 Upvotes

To be honest I feel like I’m the only one who actually hates firebase I think Firebase is way too overrated.

If a person is talking about flutter they will also start talking about Firebase and how they seem to love it. Me myself I think it’s the worst package you can use for your flutter project, because it always asks to update it and it brings many bugs and also stress.

So my question is what are some real thoughts behind Firebase?


r/FlutterDev • • Sep 15 '26

Tooling Serverpod 4 is out! 🥳 Full-stack hot reload, agentic coding, true offline sync, and 100 other features

Thumbnail
serverpod.dev
111 Upvotes

r/FlutterDev • • Apr 20 '26 Mindblown

Discussion There is a massive opportunity for Flutter desktop

111 Upvotes

I have the impression that for the first time in years the desktop landscape is fragmenting. Microsoft is butchering Windows, Apple's budget laptop seems to be getting a lot of traction. Valve is pushing Linux and when the Steam machine comes out I could see many users coming to Linux. Finally Google has their desktop version of Android coming out that Qualcomm's CEO thinks is going to be massive.

Apps are going to have to support all those platforms. This is a huge opportunity for Flutter. If the community and the Flutter team handle this well this could be massive. If I was on the Flutter team I'd be reaching out to people in Valve to see if there's an opportunity to work together.

A moment like this where the platforms shift like this only comes along once every decade or so. I just hope there are enough people inside Google who still recognize the importance of platforms, even in an AI world.


r/FlutterDev • • Jun 15 '24

Discussion Flutter

111 Upvotes

First post Just here to say I love Flutter I’ve deployed several apps with it I’ve been paid to improve an existing code base And now I’m using Flutter Flame I just want to say Thank you for the folks over at Google on the Flutter team Y’all really the reason I have a career right now


r/FlutterDev • • Jan 02 '23

Article First Impression of PocketBase

111 Upvotes

I was testing PocketBase. It's a standalone backend that supports user management with authentication, database storage with realtime updates and file storage. It is backed by Sqlite which is sufficient for small and medium-sided projects.

PocketBase is a single binary that requires no configuration besides setting up an admin account on first launch. It will create folders in the current directory to store its data.

After starting the server, log into the admin UI and create a record collection (a.k.a. table), like for example posts with fields like title and content. Also add an author which is a relation to the predefined users collection. Create yourself a user and some posts. It's that easy.

There is an official Dart client available.

Point it to your server and you're good to go:

final pb = PocketBase('http://127.0.0.1:8090');

To read all posts, you create a collection and ask it for records like so:

final result = await pb.collection('posts').getList();
final records = result.items;

By default, results are paged by chunks of 30 records and the result object will tell you the total number of records (a.k.a. items), the number of pages and which page you requested and which items are in that page. Each item is a RecordModel that has an id and a Map<String, dynamic> with all data. If you like, you can also query the related user record by adding expand: 'author' to the getList() call.

However, to get any result, you either need to be signed in or you have to setup API rules that allow list and view access to anybody. By default, only admin users can access data via API.

Of course, all CRUD operations are supported.

Instead of reading data once, you can subscribe to all changes in a collection or in a certain record. You'll then receive create, update and delete notifications. The Dart API is unfortunately a little bit non-canonical but still easy to work with.

I came up with the following method to make access to a collection a little bit more Firebase-y (and to automatically map data to instances of M):

Stream<List<M>> snapshots() {
  late final StreamController<List<M>> controller;
  Future<void> Function()? unsubscribe;
  final models = <M>[];
  void notify() {
    models.sort();
    controller.add([...models]);
  }

  controller = StreamController<List<M>>(
    onListen: () {
      service.getFullList().then((items) {
        models.clear();
        models.addAll(items.map(fromRecord));
        notify();
      });
      service.subscribe('*', (e) {
        switch (e.action) {
          case 'create':
            final model = fromRecord(e.record!);
            models.add(model);
            notify();
            break;
          case 'update':
            final model = fromRecord(e.record!);
            final id = model.id;
            final i = models.indexWhere((model) => model.id == id);
            if (i != -1) {
              models[i] = model;
            }
            notify();
            break;
          case 'delete':
            final id = e.record!.id;
            models.removeWhere((model) => model.id == id);
            notify();
            break;
        }
      }).then((u) => unsubscribe = u);
    },
    onCancel: () {
      unsubscribe?.call();
      unsubscribe = null;
    },
  );
  return controller.stream;
}

I intent to filter out bogus stream events by comparing all models but haven't done, yet. Currently, it's fast enough. Much faster as Firebase, actually, because my server is local. This is nice for development.

To sign in, simply call authWithPassword (or authWithOAuth2) on the users collection. You will either get the user's record or an HTTP error (it would have been nicer to get back null, I think).

final record = await pb.collection('users').authWithPassword('tom', 'xxx');

I like that I can add more fields to this collection in case I want to associate additional information with that user. In Firebase, one has to create another collection that needs to stay in sync with the auth subsystem.

There is something called an AuthStore in PocketBase that can be asked for the currently signed-in user with pb.authStore.model (the API should decide on whether it deals with items, models or records, I think) and can be observed for changes via onChange which is a regular Stream which is nice. To sign-out, you've supposed to call pb.authStore.clear(). The API then forgets the auth token.

If you configure PocketBase with an SMTP server address that can receive mails, the system also supports email confirmation or password reset. I haven't tried that yet.

Overall, I really like the simplicity of the system.


r/FlutterDev • • Mar 15 '21

Article Reverse Engineering a Flutter app by recompiling Flutter Engine

Thumbnail
tinyhack.com
111 Upvotes

r/FlutterDev • • Feb 09 '21

Article Scaling with Flutter — learn from the Nubank engineering team

Thumbnail
blog.bitrise.io
111 Upvotes

r/FlutterDev • • Jan 26 '21

Discussion Push for first class bluetooth support.

111 Upvotes

I have been working with the flutter_blue library, and it is in shambles. I think for something like bluetooth, flutter should be giving first class support. If you agree....upvote.

https://github.com/flutter/flutter/issues/74752


r/FlutterDev • • Dec 18 '20

Article Flutter - Zero to Production in 3 months - Building India's Biggest Trading Platform

Thumbnail
ajinasokan.com
111 Upvotes

r/FlutterDev • • Nov 18 '20

Discussion very poor performance of new google pay app

111 Upvotes

Hi,

I guess they built the new google pay app with Flutter, because that is what they said.

They just announced new app, for ios you have to install new app not upgrade

for the initial setup screen navigate to next screen is so slow, i can see the frame drop.

even after the initial setup, it still does it, when i switch to different screen/view.

i am running iPhone 12, so i don't think my phone have performance issue.

can any one else confirm it?


r/FlutterDev • • Oct 04 '20

Plugin I suffer when I have to make a theme, so I made a plugin + app to help you experiment with generated Color Schemes. It should help with contrast (WCAG) and combination ideas.

Thumbnail
github.com
111 Upvotes

r/FlutterDev • • Feb 05 '26

Article State of Flutter 2026

Thumbnail
devnewsletter.com
110 Upvotes

r/FlutterDev • • Dec 25 '25

Discussion SBI YONO (India’s biggest banking app) just moved to Flutter — huge moment for Flutter devs! 🚀

110 Upvotes

Guys, big news in Indian app world looks like State Bank of India’s YONO app (used by millions daily) has been quietly shifted to Flutter for its mobile codebase! 🧑‍💻🔥
Flutter isn’t just for startups anymore even one of the largest banking apps is adopting it

From what I’ve seen in multiple tech posts, the new YONO 2.0 app feels much smoother, faster, and more consistent across Android & iOS something you usually expect from a good cross-platform framework

This is huge because:
✅ Single codebase for Android & iOS
✅ Faster feature rollouts
✅ Better UI consistency
✅ Big trust vote for Flutter in FinTech

It might not be officially announced by SBI yet, but devs are noticing performance & UI changes that point to a Flutter-based rebuild


r/FlutterDev • • Jul 30 '25

Tooling Zero-config CI for Flutter & Dart from Shorebird

110 Upvotes

Hey all.  Shorebird (and Flutter) founder here.  I left Google and started Shorebird 2.5 years ago with the goal of building “the Flutter company” that could offer Flutter and Dart devs complete solutions and fill in pieces I couldn’t from within Google.  Our first product was Code Push (over the air updates) and we currently support thousands of businesses in delivering 10s of millions of updates around the world each month.

Of course, we also build all of our software in Dart, including all of our cloud, CLI, etc.  This has meant we’ve had to fill in a bunch of missing pieces for ourselves (including writing our own dart packages for redis, stripe, github, openapi, etc 😮‍💨).  Another problem we solved along the way was building a custom CI system for Flutter & Dart to make it trivial to keep all of our repositories and packages building and testing correctly without having to worry if we’ve kept them all up-to-date or correctly configured.

Today we’re making (much of) this CI system public, and free for open source Flutter and Dart projects.

Shorebird CI is a zero-configuration, Flutter and Dart-exclusive CI system.  It automatically configures itself, and supports mono-repos, workspaces, etc.  It runs all the best-practice checks, unit tests, formatting, analysis, spelling, coverage, etc.  And importantly it runs fast (faster than GitHub actions), automatically caching Flutter installs, parallelizing work, etc.

Takes < 1m to set up and requires no changes to your source code.  Details at https://ci.shorebird.dev/.

This “preview” only works on public repositories and is free to use.  We expect to launch support for private repositories in a couple weeks.  Give it a try and let us know what you think!