r/FlutterDev • • Feb 21 '19

Community Participate in Flutter Contest and win prizes

Thumbnail
flutter.io
109 Upvotes

r/FlutterDev • • Oct 18 '23

Discussion Do you use Isolates? Research for flutter.dev documentation

108 Upvotes

Howdy all. I'm Eric, and I'm an engineer the Flutter team at Google.

I'm working on updating the documentation and sample code regarding Isolates and multithreading in Flutter and Dart. One thing I want to focus on in is real-world and common use-cases, as it seems like most of the documentation out there uses parsing JSON as an example.

Do you use isolates in your Flutter apps? To accomplish what? Do you use the 'compute' method or the Isolate class?

Any general thoughts about how you use isolates or issues you've run into with isolates is appreciated.


r/FlutterDev • • Mar 24 '23

Community Flutter now supports non-uniform borders (similar to Figma)

108 Upvotes

After about 8 months playing with this idea, I finally found a way to merge Non-Uniform Borders into the framework. I think you are going to love, because it is exactly what Figma does!

https://github.com/flutter/flutter/pull/121921

Border got a lot more flexible. You can now have a border with borderRadius, multiple strokeAlign and multiple widths, on both circle and rectangle. As long as you don't use multiple colors in a border, you will have zero crashes.

For those that prefer ShapeDecoration (spoiler: it is better! It is more modern, can lerp, works with material widgets/buttons and caches the painting), I made a package with exactly the same behavior. It works like a "Border2", everything you would expect from an updated Border but with zero runtime crashes. https://github.com/bernaferrari/non_uniform_border

I hope you enjoy. Thanks Hixie, Greg and the team for the patience!


r/FlutterDev • • Nov 29 '22

Article How to Hack & Protect Flutter Apps — Simple and Actionable Guide (Pt. 1)

108 Upvotes

I am working on a short guide, "How to Hack & Protect Flutter Apps," aimed at junior and senior devs and reverse engineers who'd like to get acquainted with App protection for Flutter-based apps.
Part 1 (this article) ↓

  • Disassemble app.

  • Extract its secrets.

How to Hack & Protect Flutter Apps — Simple and Actionable Guide (Pt. 1/3)

The second and third guide will cover these areas. I may adjust them based on the feedback:

Part 2 (coming soon) ↓

  • Make a fake clone.

  • Check every transmitted JSON.

  • Inject code.

Part 3 (coming soon) ↓

  • Steal authentication tokens.

  • and attack the API.


r/FlutterDev • • Oct 01 '20

Article Google Pay 2.118 confirms the old app will be replaced by the Flutter one

Thumbnail
xda-developers.com
108 Upvotes

r/FlutterDev • • Jul 20 '20

Tooling I made SVG icons to OTF font converter, written fully in Dart. I hope it will be useful for many people in their Flutter projects.

Thumbnail
pub.dev
108 Upvotes

r/FlutterDev • • May 21 '20

Plugin frefresh | pull-down refresh and pull-up loading in the simplest way

Thumbnail
github.com
108 Upvotes

r/FlutterDev • • Jan 21 '20

Plugin Flutter Shine is a library for pretty shadows, dynamic light positions, extremely customizable shadows, no library dependencies, text or box shadows based on content.

Thumbnail
github.com
108 Upvotes

r/FlutterDev • • Jun 13 '19

Example A GitHub template for Flutter to share all business logic between web, mobile and desktop in one repo. The goal of this repo is to have everything you need to start with flutter desktop + mobile simply by forking the project.

Thumbnail
github.com
108 Upvotes

r/FlutterDev • • May 06 '19

Community Flutter @ Google I/O 2019

108 Upvotes

Google I/O is happening May 7-9! A livestream will be available from the Google Developers YouTube channel. Here are all the events that are related to Flutter:

Streamed sessions (time in PDT):

Tuesday, May 7

Wednesday, May 8

Thursday, May 9

Codelabs

There are also some new & updated codelabs available.

Live chat on Discord

Join us on our Discord chat server to discuss the event in real time. We’ll have a dedicated channel for Google I/O.


r/FlutterDev • • Mar 14 '26

Discussion After a few Flutter projects, these 5 conventions saved me the most time

107 Upvotes

After a few Flutter projects, I realized the painful part usually isn't building screens.

It's the moment the app stops being "small" and every feature starts solving the same problem differently.

These are the 5 things I now standardize early:

  1. Feature-first folders I used to group code by widgets/, screens/, services/, etc. It looked neat at first, but once the app grew, following one feature across multiple folders got annoying fast. Now I keep each feature together and only extract truly shared code.

  2. One async state pattern I care less about whether a team picks Bloc, Riverpod, or something else. I care that loading, success, error, and retry behave the same way everywhere. Inconsistent async UX creates more pain than the state library choice itself.

  3. One place for error mapping Raw backend errors leaking into the UI became messy quickly. Now I try to map network/auth/validation failures close to the data boundary so the UI deals with app-level states instead of random exception shapes.

  4. Route ownership by feature If a feature owns a flow, it should also own its routes. That made navigation changes much easier and cut down the "where does this screen belong?" problem.

  5. A hard rule for reusable widgets I used to extract widgets too early. Now I only extract when the same UI pattern shows up multiple times or when the parent widget becomes hard to reason about. Otherwise I keep it local.

The surprising part: cleaning up these conventions saved me more time than switching packages ever did.

Curious how other Flutter devs handle this: If you could enforce only one convention on day 1 of a new Flutter project, what would it be?


r/FlutterDev • • Feb 10 '25

Discussion PSA a few Flutter official packages being discontinued

Thumbnail
github.com
107 Upvotes

r/FlutterDev • • Jan 25 '25

Discussion Flutter Flame: My Game Development Experience

107 Upvotes

Summary

  1. Making games feels much harder than developing apps.

  2. Developing a game using the Flame engine might not significantly improve your Flutter skills.

  3. For complex or large-scale games, using a professional game engine would probably be a better choice. That said, it’s not impossible to make such games with Flame (limited to 2D games).

  4. For those already familiar with Flutter, Flame is undoubtedly an easy tool to create simple games.

  5. Although it was challenging, it was also an enjoyable and fun experience.

Hi everyone,
I’m an app developer currently living in South Korea.

Last year, I started learning Flutter, and that’s when I discovered the Flame engine. For some reason, I got the urge to make a simple game. I started working on it as a hobby, and after spending so much time on it, I decided to publish it on Google Play. I wanted to share my experience with you.

The game I created is a casual tower defense game. The idea is that animals from a farm play in the mud, and as they return to the farm, the player needs to clean them using different types of towers.

Even though it’s a pretty simple game, honestly, it was so challenging.

If your goal isn’t to make a very basic casual game, I think using Unity or other professional game engines might be a much better choice.

One of the hardest parts was that when I ran into issues with the Flame engine, finding solutions online wasn’t always easy. Even GPT couldn’t help me solve some of the problems I faced.

Flame is improving, but it still feels a bit limited in many ways. You often have to manually figure out and implement things that might come pre-built in other engines.

This game, despite being simple, required more effort than any other app I’ve ever developed. I have so much respect for game developers, especially those who work solo.

If I had more time, I’d love to make a game with a much bigger scope, but I’ve realized that making games is best left to those who truly excel at it. Haha.

I feel like I’ve focused on the negative aspects so far, but honestly, Flutter and Flame are amazing tools just for enabling someone like me to create a game.

From my experience, I believe that Flame can handle any 2D game you want to make. Even with my poor optimization skills, the performance was surprisingly solid.

Right now, I’m focusing on finding a job in the Flutter field, but I’m not sure how it will go. Looking back, I think I should’ve spent more time practicing Flutter itself instead of working on the game.

Today, I was working on converting one of my existing apps into Flutter. During a quick break, I thought I’d share my story here while browsing here.

The game itself isn’t much, and I’m a bit shy about sharing it. Still, I thought, “Why not post it in a big community like this?”

If there’s anything else you’d like me to share or elaborate on, feel free to comment.

Honestly, the game isn’t very fun, so I won’t tell you to play it. Haha.

Here's the link anyway

https://play.google.com/store/apps/details?id=com.zikgamez.duckshower


r/FlutterDev • • May 15 '24

Video Announce an ultimate Flutter 23 hour tutorial and offline-first

107 Upvotes

I know you always wanted to see a Flutter video guide that will cover all-in-one: sleek UI with blazingly-fast backend. And, try to imagine, without a Firebase as a primary service…

I present for you a free 23-hour Flutter offline-first Instagram clone tutorial, leveraging Flutter best practices!

Key features:
📸 Offline-first capabilities
🔐 Authentication
🔄 Sync queued data
⚡ Real-Time Updates
📱 Custom Media Picker
✨ Stories Editor
💬 Real-Time & Offline Chat
📢 Sponsored posts with promoted content
✉️ Push-Notifications
🧱 Unique content-based blocks
📍 Dynamic routing
🚀 Performance & Scalability

I am 100% sure this guide will impress you, regardless of your current experience…

It's not just another Instagram clone... You are going to learn comprehensively everything and beyond to be a real-world app creator.

This tutorial will enhance your skills so much that after you will be fully capable of building your very own comprehensive applications with confidence and no fear.

Moreover, you are going to learn how to create a completely offline-first application. It means that every single in-app feature is accessible with no internet connection!

If you have ever dreamed of becoming a very successful Flutter developer, now it’s your time to shine!

Just in a few days of disciplined and consistent work, you can become a real beast…

Now, guys, what are you waiting for? Let’s go and watch it now, completely free!

Here is the link for the tutorial: https://youtu.be/xr56AjdGf-o

The tutorial has 2 parts, so don’t forget to watch both.

Don't forget to leave a like and subscribe to my channel!

Also, I would really appreciate any of your support! You can buy me a coffee and become a part of our beautiful community on Ko-fi

Your donation will hugely help me, and it will allow me to keep the next beautiful videos and tutorials high-quality and free!

Enjoy!

P.S. The source code is in the description of the video.


r/FlutterDev • • Feb 15 '24

Article Flutter roadmap for 2024

Thumbnail
github.com
107 Upvotes

r/FlutterDev • • Jan 06 '24

Discussion Releasing an MMORPG I've worked on for more than a year on January 18th. Sharing my experience on creating a complex game.

107 Upvotes

Hello, r/FlutterDev!

I've been sharing my experiences here on my project WalkScape time to time. Now that I am releasing the game as a closed beta on January 18th, I would like to share my experience and answer any questions!

First off, why Flutter? I originally started to work on the game with Unity, but as WalkScape needs a ton of custom UI and I don't like the bloatyness of Unity, I looked for alternatives. Thankfully, I was able to create the first prototype quite quickly on Flutter, and loved how fast it was to build a game on it.

Bes things about Flutter for game development:

  • Lightweight, fast, cross-platform.

  • Works more like any other SDK, which makes it easier to utilize software development experience when working on a game.

  • Open source. No need to pay fees to Unity or Epic etc. and an ecosystem of open source packages to use. And with the recent stuff with Unity, this is a great plus.

  • Blazing fast for creating UIs.

  • Can use stuff like version control, github actions, CI pipelines and whatnot on game development. These are much more difficult to setup (or impossible) when working on a game engine.

  • HOT RELOAD. No game engine has this. On Unity, it takes sometimes like more than a minute to try out your new changes while waiting the game to load.

  • Better support for native mobile stuff than what most game engines provide.

  • The games don't burn your battery.

And downsides:

  • State management for game development is quite complex. Riverpod is fine, but I wish there was a game focused state management solution.

  • The current offering of good guides for making more complex games is non-existent. You need to be experienced game dev to pick Flutter.

  • There are practically not any useful game development packages other than flame. You need to make a lot of things from scratch.

It has been a huge amount of work though, as our team only consists me and our artist maxchill. Flame is great for rendering, but Flutter is currently missing a lot in the sense of game development ecosystem. Maybe due to it's not yet seen as a valid option for game development, and hasn't been picked up by the game dev community. I dunno, but I'm hoping that the game I am making could change that. You can definitely create massive RPGs with Flutter if you want to.

For WalkScape, I had to create my own game engine and a lot of systems. Some highlights:

  • I've created a game engine where I can directly create more content for the game on the go (so on my phone) while I am playing it. It hotloads new localisation keys, and I've made a search in the development tools where I can pick the localisations keys I want for different pieces of content.

  • I can upload newly created game content directly from the game to the game server, and they're delivered to the players OTA. So I can update the game on my phone.

  • Newly added game content can directly be played and tried out in the game without needing to restart the game.

  • I have made editors and UIs for all kinds of game systems: items, loot tables, locations, NPCs and dialogue. No need to code. The game engine spits out the content files that are loaded and handled by the game engine.

  • The game doesn't use any default Flutter components. All of the UI components have been made from scratch.

  • This has been done with freezed, serializable, dio and riverpod. Game server is built with Dart Frog and for database I use Supabase. Around 130k lines of code at the moment.

So what is the game? It's an MMORPG where you gain progress by walking in real life. And we don't use GPS here - instead the progress is calculated with pedometer. This is so that the game can be entirely closed while you walk, and you open it up when you're taking a break or back home. It loads any steps you gained while it was closed.

The game has hundreds of items, a huge fantasy open world, NPCs and shops, a bunch of activities and more. And we're just getting started. We are looking to add:

  • Player-to-player trading

  • Quests

  • World events

  • Guilds and a party system

  • Combat

  • And much more

For the game, I had to setup a company last Summer when it started to become more serious. We now have around 1000 people supporting the development on Patreon and Buy me a Coffee, and more than 6k people registered to the game pre-release.

If you'd like to sign up for the closed beta, you can do it here: https://portal.walkscape.app/post/214

And if you want to read more about the game and see some pictures, you can do so here: https://walkscape.app

And if you prefer a video where I explain the game while showing it, you can check it out here (6 minutes):

https://youtu.be/RjaQeb5Rapg?si=9ejg1cHTuURPJ9Z1

I'll gladly answer any questions, comments or feedback! Happy new year Flutter devs ❤️


r/FlutterDev • • Dec 04 '23

Discussion It has been 5 years since the first stable release of Flutter 🎉

Thumbnail
twitter.com
107 Upvotes

r/FlutterDev • • Oct 01 '22

Plugin Riverpod 2.0 has been Released

Thumbnail
pub.dev
107 Upvotes

r/FlutterDev • • Nov 22 '21

Community Launching today: Code with Andrea 2.0!

107 Upvotes

Since 2018, I've been creating tutorials and articles for the Flutter community and hosting them on my site, and this now receives 40,000 visitors every month.

To make the experience better for everyone, I have been working on a complete redesign.

And I'm very happy to share the new site with you all:

https://codewithandrea.com/

What’s inside?

  • Brand new design!

  • 137 Flutter videos, articles, and tips (and counting).

  • 4 Flutter courses.

  • A very good newsletter.

I hope this will become a reference for Flutter developers worldwide and a good complement to all the other great resources from the community!

There are still a few things to tidy up here and there, but I hope you'll like the new experience!

I'd love to hear any feedback you may have!

Andrea


r/FlutterDev • • May 16 '21

Video Linting for Clean Flutter Code

Thumbnail
youtu.be
107 Upvotes

r/FlutterDev • • Feb 26 '21

Plugin `pub.dev`now shows desktop platform compatibility. (linux, windows, mac)

107 Upvotes

here's a screenshot: Imgur


r/FlutterDev • • Nov 19 '20

Article Announcing Dart null safety beta

Thumbnail
medium.com
107 Upvotes

r/FlutterDev • • Nov 13 '20

Discussion Introducing r/BuiltWithFlutter. Read on to know why I think it's important and how it's different.

107 Upvotes

Hello!

I created a subreddit called BuiltWithFlutter to promote open sourced and private apps built with Flutter. While I appreciate Open Source and try to open source all the apps I can, sometimes it's just not feasible. However, as Flutter is a growing framework, I believe it's important to show off what is possible in Flutter and talk to the people who have used Flutter to build apps.

Therefore, this subreddit benefits everyone. Devs get to promote their apps, and as a rule of the subreddit, OP must answer any comments asking them how they did something in Flutter. This way people can learn, and get inspirations for their next app.

I hope you check it out, and let me know if you have suggestions. I really hope we can promote more development with Flutter since we all benefit when this framework grows and there's more jobs and work in this domain.

Note to Mods of r/FlutterDev : I hope you can sticky this post for a bit, and put r/BuiltWithFlutter in the sidebar so people know where to go to post their apps.


r/FlutterDev • • Aug 25 '20

Example Flutter notes app (open source)

107 Upvotes

😊 Hi guys, I'm very happy to share this app with you, a simple notes app with the dark mode, I hope you like it ❤

You can check the source code: https://github.com/Abdellatif404/flutter_notes_app

And test it on your phone: https://drive.google.com/file/d/1H1riR4fgrwYG1ld95zHByGB1iAjijGy5/view?usp=drivesdk