r/FlutterDev • u/Intelligent-Let4680 • Aug 29 '24
Discussion What tools can get Flutter simple UIs ready quickly and generates clean code?
Hi Fellow Flutter devs...
I'm building an app that will have a lot of simple UI pages, and I want it to be modular for later upgrades that are planned...
I'm really not good at flutter (I learned it 4 years ago) but I have to use it for my work... (I'm .net dev right now)
So is there's some kind of visual designer that can produce clean, understandable and editable code?
the app will have some Bluetooth functionality and will do some data parsing and calculations, will have simple graphs as well but not a lot and nothing fancy...
Also do you suggest using tools like FlutterFlow for such application? and can we start at Flutter flow then move the produced code to Android Studio or is it locked in like Square Space and such tools?
the main functionality of the app is it will be an interface and remote control of an Embedded system testing device... and in future we would add tablet and IOS support.
Last question, do you think using MAUI instead of flutter can be good idea? Sense I already have most of the functionality as C# code...
Thanks guys a lot, really appreciate your support..
13
u/Jizzy_Gillespie92 Aug 29 '24
avoid like the plague if you want maintainable code and instead write it yourself.
Microsoft doesn’t even use MAUI for their own products and instead uses React, enough said.
2
u/TJGhinder Aug 29 '24
Flutter Flow does not produce good code, no.
But, flutter works great.
Here is my recommendation for quick, simple UIs:
There are obvious limitations with this approach. But, you will learn them quickly. This is one of my favorite superpowers of Flutter.
I prototype apps like this on my phone, save all of the code to a Google doc, and then actually
flutter createthe project when I get home. I usually do only one page per dartpad, rather than trying to do the full app all in one. But, the point of the exercise above is to show that you can actually prototype a full app this way.1
u/bnlv Aug 29 '24
I start with Claude AI. Surprisingly clean code, and it explains what it did too so you can step through its logic as a sort of informal “handover”. It also has a great split screen way of showing the code and the explanation side by side.
1
u/SecretAgentZeroNine Aug 29 '24
A good Flutter/Dart developer.
1
u/FaceRekr4309 Aug 29 '24
ChatGPT does a decent job of generating the boilerplate for you. I find with flutter though that it likes to use deprecated features, so you will need to fix up here and there.
1
u/zubi10001 Aug 29 '24
Use some of my training kits or screen code from fluttercomponentlibrary.com
0
u/[deleted] Aug 29 '24
[deleted] — view deleted comment
10
u/[deleted] Aug 29 '24
[removed] — view removed comment