r/FlutterDev • • Dec 06 '19

Example Architecture of the Google Play Brasil Best App of 2019. 1.5M+ installs, score 4.9 with 68.000+ ratings.

161 Upvotes

Hi everyone! I'm Ricardo from Cíngulo (www.cingulo.com). Our app has been featured by Google Play as the Best App of 2019 for Brazil. We have 1.500.000+ installs and a score of 4.9 on the store with 68.000+ ratings.

We have published a very similar architecture as the one we are using at https://github.com/cingulo/flutter-sample . This sample app is fully working, with a sample API also available.

It took us about 3 months to build the app from zero knowledge about Flutter. When we started, it was hard to find fully working, complete examples to play with. This is why we have decided to publish this project.

Every project may have its own architecture. This is what worked for us. There are still improvements to be done but it already is a good starting point and it would have helped us a lot if had something similar to this when we started.

This post is not intended to promote our app as it actually is not even available in most countries and we already have good numbers. But I did mention our numbers to show that this architecture has already reached many people and is working very well. Anyway, if moderators find this an unwanted promotion, remove the post.

Hope it can be useful for some, it would have been for us :)


r/FlutterDev • • Nov 06 '19

Community Github's 2019 Octoverse report is out, Flutter is listed as the #2 fastest growing open source projects and Dart the #1 fastest growing language worldwide!

Thumbnail
octoverse.github.com
161 Upvotes

r/FlutterDev • • 16d ago

SDK What's new in Flutter 3.50

Thumbnail
flutter.dev
160 Upvotes

r/FlutterDev • • Aug 30 '22

Article What’s new in Flutter 3.3

Thumbnail
medium.com
160 Upvotes

r/FlutterDev • • Feb 08 '25

Plugin 🚀 Just Released: FlNodes 0.1.0 Beta – A Fully Customizable Node Editor for Flutter!

159 Upvotes

Hey everyone! 👋

I’m William, an 18-year-old passionate about Flutter and computer science, and today, I’m thrilled to share the first beta release of FlNodes (0.1.0) – a flexible, fully customizable node-based editor for Flutter! 🎉

What can you build?
✔️ Visual scripting for games & automation
✔️ Mind maps, flowcharts & process editors
✔️ Shader & material graph editors
✔️ Data flow pipelines & AI model graphs
✔️ And much more!

⚠️ For the best experience, we recommend either running locally or using a mouse ⚠️

🔗 Try it out now: Live Demo

Why Beta?
This is an early release – things work, but there will be bugs & missing features. I’m releasing it now to gather community feedback and improve the package together! 🚀

What’s Next?
🛠️ Debugging tools for graph execution
🔄 Dynamic ports & fields (e.g., alternative fields if no node is linked)
🎨 Node Delegate Builder for 100% customizable nodes
⚡ Better rendering performance (with shaders!)

How You Can Help
I’m solo-developing this (aside from occasional contributions), so stars, feedback, issues, and PRs will really help speed things up! ⭐

A special thanks goes to my friend Chase for implementing trackpad input handling and testing on MacOS and IOS!

Let me know what you think! Happy coding & building awesome node-based UIs with FlNodes! 🚀🎨


r/FlutterDev • • Feb 24 '24

Discussion 8 must have flutter packages

159 Upvotes

After building two production apps and several test apps in Flutter, I've gained valuable experience with the framework. Here, I want to share my personal opinion on the ten must-have Flutter packages for every project, including some hidden gems you might not be familiar with yet:

Btw all of these packages were used in my flutter web app https://askrudi.com

Dio

===

https://pub.dev/packages/dio

Every developer utilizing APIs in their app needs this package! It's simple to use yet powerful.

Fancy Shimmer Image

===================

https://pub.dev/packages/fancy_shimmer_image

Are you using `Image.network()` to load images from the web? This package elevates the loading process, giving it a polished and professional look.

Flutter Bloc

============

https://pub.dev/packages/flutter_bloc

State management is probably one of the most discussed and debated topics in the Flutter Dev Community. For me, Flutter Bloc is the easiest to understand while still being very powerful.

Go Router

=========

https://pub.dev/packages/go_router

My favorite routing management package, and probably one of the most widely used too.

Skeletonizer

============

https://pub.dev/packages/skeletonizer

Another loading package, this time for displaying skeleton placeholders while your content is loading, such as text. This package is the best Skeletonizer I know of --- it simply does what's expected.

Back Button Interceptor

=======================

https://pub.dev/packages/back_button_interceptor

Don't want your users to accidentally leave your app if they perform the back gesture on their phone? This package does the job.

Flutter Animate

===============

https://pub.dev/packages/flutter_animate

With a good and easy-to-use syntax, this package allows you to craft smooth animations quickly.

I hope this list is hopeful, especially for those starting out!


r/FlutterDev • • Dec 23 '20

Tooling FlutterFlow Update: Build Flutter Apps Visually

Thumbnail
youtu.be
159 Upvotes

r/FlutterDev • • Jun 22 '22

Article Stats show that Flutter is now more popular and loved than React Native

Thumbnail
gist.github.com
158 Upvotes

r/FlutterDev • • Apr 15 '20

Tooling Announcing CodePen support for Flutter

Thumbnail
medium.com
158 Upvotes

r/FlutterDev • • Aug 04 '21

Article Ubuntu is going full-on ahead with Flutter!

Thumbnail
9to5linux.com
157 Upvotes

r/FlutterDev • • May 11 '21

Tooling AMA: Adobe XD to Flutter

156 Upvotes

Hi Flutter devs! I'm Grant Skinner, CEO of gskinner. You might know us from our work on the Flutter Vignettes, Flokk Contacts, Flutter Folio, and other random things (RegExr?).

About a week ago, we teamed up with Adobe and Google to announce XD to Flutter v2.0, and I thought it was a good excuse to hop on here to answer any questions and solicit feedback.

Quick intro: XD to Flutter is an open-source plugin for Adobe XD that exports your designs to Flutter. The latest version supports almost anything you can create in XD: vector shapes, gradients, shadows, background blurs, blend modes, images, rich text, responsive layout, grids, stacks, scroll groups, parameterized components, onTap parameters, prototype interactions, and more.

Rather than write a wall of text here, I'll provide a few links where you can learn more:

Now that we've mostly caught up with XD on features (at least the ones exposed to plugins), I'm planning to shift focus for v3.0 to developer integration. I want to make it easier to consume the exported code in a real project.

Here are a couple GitHub issues tracking things I've started working on for v3.0:

I'm also planning to create an example showing how best to utilize exported widgets in a larger app, and hopefully knock out a couple articles on our blog about best practices.

The goal is definitely NOT for devs to build their apps with this plugin. Instead, we want to reduce the barrier between design and dev. That could be as simple as grabbing the code for a gradient. Or, exporting a whole view so you can quickly toss it in an app to prototype. Or, outputting a fully responsive widget with parameters and interactions, which can be reused throughout your app.

I would love to answer any questions, or hear your feedback. It's a work day, so apologies if I don't respond immediately, but I'll be checking back every hour or so.


r/FlutterDev • • Dec 04 '18

Article Flutter 1.0 Is Now Available: Stable Native Cross-Platform Development

Thumbnail
xda-developers.com
156 Upvotes

r/FlutterDev • • Apr 27 '21

Example Flutter as Web SPA framework: dare to use it instead of Angular or React?

155 Upvotes

TL;DR it is doable, there're rough edges, Flutter is cleary not 'native' to the web world (unlike Angular) and not completely tailored to Desktop development

Intro

During a Flutter workshop that demonstrated how easy it is to build an app for 6 platforms we discussed the most common cases and concluded that the range of supported platforms is great, but not a killer feature. In a realistic scenario one might need apps for Android and iOS (optionaly PWA) that have same UI. Then there should be an SPA Web app tailored to Desktop screens (and thus having different UI and richer features). There're tools that fit nicely in each of the cases while having same tools used for both Mobile and Desktop development might not be that beneficial.

A question emerged, if we used Flutter as a web framework to build SPA for desktop instead of Angular or React, what would it be like?

Few weeks latter in my company we started a PoC rewriting small part of a legacy app (AngularJS, Node.js, OData) to a new tech stack (Blazor WASM, .NET 5, gRPC). I decided why not try my Flutter skills and build a second client PoC. Sharing my experiences here...

Demo

Below are 2 links of the Flutter client I've built:

And the repo: https://github.com/maxim-saplin/flutter_web_spa_sample

The apps are built with Flutter beta 2.2.0-10.1.pre

Features

  • Custom data grid (based on extended stock DataTable) with sticky header, pagination, sorting and Excel like column filters (pop-ups appear when cliking on column headers)

    • Right click context menu for rows via custom widget

      • A hack to silence browser's context menu when doing right clicks

    • Changing visible columns and saving the configuration to shared_preferences (gear icon)

  • Localization via i18n_extension package

  • Routing via top menu and sharing 'Master page' between different content pages (there're 4 routes)

    • Layout with fixed header/footer and expanding content area

  • Custom icons in TTF font generated from SVG (via icomoon.io) and bundled in assets

  • Popover/popup for advanced search (magnifier button)

    • Adv. search and filter are implemented via custom_pop_up_menu package

  • IoC (switching fakes/ gRPC implementations) via Provider state management

  • flutter_hooks as alternative to StatefulWidget

  • gRPC back-end intergations and auth via JWT (though not used in demo, fakes turned on)

    • Conditional imports for gRPC client to allow different implementations in Web/Native (gRPC Web Proxy is required for browser clients)

Effort

It took me ~7 days (~56 hours) to complete the PoC:

  • First weekend (2 days) to create the layout and customize DataTable to support sticky headers

  • Second weekend (2 days) to complete the UI functionality with mocks and properyl structure the code

  • Another 5 days integrating with gRPC, troubleshooting, introducing auth, tinkering with UI etc.

Before starting the project I had ~8 months of casual experience with Dart/Flutter doing small projects, as well as some React/Redux experience in 2018/2019.

The developer working on the Blazor side (with experience in .NET and React, but not Blazor) spent 3 weeks doing the same client, though not completing it (e.g. no selection of columns, no localization etc.).

Subjectively, Flutter was percieved as a very productive tool.

Impressions/Issues

  • Debguing using VSCode (on both Windows and macOS) is very troubling: breakpoints are not predictable (sometimes they don't fire or they keep firing even when removed), VSCode debugger occasionally refuses to show variable values. Often I had to switch to Chrome Dev Tools (and there you have to drill down the sources to finв the right file), watching variable values is also not that straighforward (you need to add this. before the names of vars)

    • It is often easier to build and debug a native app

  • Build times can be significant, though hot reload works and it is great to have it (you really miss that feature when you switch to Blazor where any change requires rebuilding back-end/front-end to see it in the page)

  • Flutter's widget ecosystem is clearly focused on mobile use cases, Desktop needs more work done extending the SDK with more widgets/capabilities:

    • There's no context menu widget (the one shown on right click) - found sample on the internet and created a custom one

    • GeastureDetector has right click capabilities (via onSecondatyXXX), you won't find those events available in stock widgets (e.g. DataCell only has onTap and onLongPress) - add the dectector directly where needed

    • No desktop native dropdowns - DropdownButton has huge menu items and you can't override it for desktop (there's a hard limmit of minimal height 'in accordance with Material design recomendation') - there's pub.dev alternatives

    • No popups except dialogs (via showDialog()) which are always centered - pub.dev helped

  • No out-of-the box auth abstractions to have routes authorized (and have redirections to Login page when accessing non anonymous routes), capability to request user identity (with claims/roles) - needed to invent smth new

    • P.S. Blazor has a set of classes and extension points that help with that

  • There're few data grid controls

  • Flutter's DataTable and Table widgets are quite slow:

    • When changing page number/page size and rebuilding the grid quite a lot of time is spent scripting (rather than rendering) - all those cells and widgets require solid ammount of effort to be create. The total time to complete 20->99 page size switch is around 600-900ms on my MacBook/Chrome

  • Scrolling is junky, situation is better with CanvasKit and in Chrome, Safari on macOS has poor FPS with all renderers

  • No out-of-the box SVG support (even limmited one just to dispolay verctor image without SVG animiations or scripting)

    • Font icons can work, though they are single tone, no multi-color SVG logos etc.

  • Text is not selectable by default. Scenario where you can select the contents of the entire page and paste it to a Word document (in other words to select text/images/tables in different elelements/containers and copy them) are not implementable

  • There's no CSS or alternativs in Flutter yet it doesn't stop you from creating complicated layouts and nice UI

Numbers

Time to display GridData transfered at first app startData uncompressedNumber of requests
AngularJS1.9s2.0MB5.7MB294
Blazor2.2s4.7MB13.7MB99
Flutter HTML1.7s2.1MB3.7MB15
Flutter CanvasKit2.8s4.7MB10.5MB17
  • Tested on Windows 10, Google Chrome Version 89.0.4389.128 (Official Build, 64-bit), Intel Core i5 4460, 16GB RAM, wired LAN connection

  • Relase configs used to build apps, Blazor WASM/.NET 5, Flutter (Channel beta, 2.1.0-12.2.pre), AngularJS 1.7.7

  • Clients hosted on Windows 10 VM under IIS 10

  • With gRPC back-end

  • Legacy app is much bigger then PoCs created, there're many more screens and assets which affect the number of requests upon app launch

P.S.:

For those looking into publishing Flutter Web to GH Pages, you can find the example of GH Actions workflow yml in the repo (tailor it to your app, run it - it will create the gh-pages brnach and turn on Pages feature in repo settings ).

Beside there's a bug in Flutter Web tooling which doesn't allow service worker load all the resourcec from non route location, as a workaround you need to manualy change flutter_service_worker.js in gh-pages (see https://github.com/flutter/flutter/issues/68449#issuecomment-826383290)


r/FlutterDev • • Sep 27 '19

Plugin A day night switch widget for Flutter. [GitHub link in comment]

155 Upvotes

r/FlutterDev • • Jun 27 '23

Discussion Job requires 12 years of Flutter experience.

154 Upvotes

Recruiter just wrote me saying I didn't meet the requirements for a job.

Specifically, they require someone with 12 years of Flutter experience.


r/FlutterDev • • Sep 06 '20

Plugin IT'S DONE!! Floaty_Chathead Plugin! , Create your own chathead with content like messenger.

154 Upvotes

Hello everyone!! First of all, i wanna thanks for all the support comments given during the creation of this plugin in previous post. Im happy to announce that the release version of floaty_chathead is live :)

pub.dev: https://pub.dev/packages/floaty_head

github: https://github.com/Crdzbird/floaty_chathead

The functionality are the following:

  • Customize icon of the chathead.

  • Customize the close icon.

  • Customize the close icon background.

  • Dynamic notification of each button from Android to Flutter.

  • Build head, body and footer of the view hosted inside a container that is gonna be displayed when the chathead has been tap.

  • Management State of the bubble


r/FlutterDev • • Jun 27 '20

Article I just open-sourced `pdf_flutter` a Widget to display PDF easily like Image.

154 Upvotes

I just released a plugin to display PDF in Flutter.

Now, it's super easy to load PDF from the network like it was loading images from the network.

I spent 2 days trying to display PDF easily in Flutter and I hope it will help other devs save some of their time.

  1. Add pdf_flutter on pubspec.yml

     dependencies:
       pdf_flutter: ^version
  2. On iOS enable PDF preview like by adding this on ios/Runner/info.plist:

     <key>io.flutter.embedded_views_preview</key>
     <true/>
  3. Start Using

     PDF.network(
         'https://raw.githubusercontent.com/FlutterInThai/Dart-for-Flutter-Sheet-cheet/master/Dart-for-Flutter-Cheat-Sheet.pdf',
         height: 500,
         width: 300,)

See demo and plugin here: pdf_flutter


r/FlutterDev • • Mar 13 '19

Plugin Floating App Bar like Google Photos and Gmail 😎

Thumbnail
pub.dartlang.org
154 Upvotes

r/FlutterDev • • Dec 20 '21

Community Spotify currently has job opening for Flutter Mobile Developer!

153 Upvotes

So I was randomly checking for flutter developer positions on popular company's websites and i found that spotify is looking for flutter developer.

Spotify job link


r/FlutterDev • • Sep 09 '20

Article Interesting article about about eBays' use of flutter for a new project

Thumbnail
tech.ebayinc.com
153 Upvotes

r/FlutterDev • • May 21 '25

Discussion NotebookLM was made with Flutter!

152 Upvotes

And NotebookLM is not a small or a basic app. It is practically one of the core apps around the Gemini platform 🤓!

https://x.com/FlutterDev/status/1924884357371568570?t=eehL-81jyC8-2GQatxf7tw&s=09


r/FlutterDev • • Feb 25 '22

Community Here is an open-source website that I am working on with the aim to let users browse small widgets/use-cases that you can easily copy-paste in your project.

Thumbnail
fluttertemplates.dev
152 Upvotes

r/FlutterDev • • Jan 15 '25

Article 10 Flutter Widgets Probably Haven’t Heard Of (But Should Be Using!)

Thumbnail
dcm.dev
151 Upvotes

r/FlutterDev • • Sep 25 '24

Discussion Packages to improve UI/UX of your app

151 Upvotes

What are some packages you use to make your app look or feel better?

Here are some that I know:

figma_squircle (for better rounded corners)

toastification (alternative to the SnackBar)

flutter_popup (for popup menus)

neopop (neopop buttons)

shimmer (shimmer loading animation)

icons_plus (extensive variety of icons)

EDIT:

Here are some more packages:

skeletonizer (loading animation)

chiclet (island-style buttons as seen in the Duolingo app)

hidden_logo (allows you to place your logo under the Dynamic Island or notch)

live_activities (Dynamic Island)

showcaseview (showcase/highlight your widgets step by step)