Flutter Heroes
26.1K subscribers
272 photos
2 videos
31.1K links
Download Telegram
New post on /r/flutterdev subreddit:

Looking for CSS like FR unit
Hi while doing some flutter courses I saw most of the time the instructor uses fixed sizes like 200, 300 etc.He mentioned the use of mediaquery to calculate the screen size and then take % of the space that you want of the screen, which is a much better approach.But coming from the web I really like that I can take a div and just create a grid inside it and define the width and height of items in that by fractions (fr) so basically I can say "item A takes 20% of the AVAILABLE SPACE, item B takes 50%, item C takes 30%" and then later I can take item B and create another grid inside it and create "b1,b2,b3 while b1 takes 60% of the available space, b2 takes 20%, b3 takes 20%" but since b1,b2,b3 are a part of B it means b1 is 60% of 50% of the space which is 30% of the parent div.​I probably explained it a bit complicated but overall I just look for a way to use CSS like grids without having to type defined widths each time, there must be a better way to position elements on your app that will fit the various different phone sizes.​Also can't flutter just take width: 100%? why do I need to do the long way of MediaQuery just to get the device width? you never do window.innerWidth in javascript

September 07, 2021 at 03:02PM by Physics_Total
https://ift.tt/3A3AXSk
New post on /r/flutterdev subreddit:

Enough with Firebase Flutter authentication videos.
Is it just me or someone else feels this too. Flutter Firebase authentication has been implemented by almost all possible ways in countless videos and articles. Please people stop with Firebase authentication videos.

September 08, 2021 at 07:36AM by coolshiv28
https://ift.tt/3ndn7JU
New post on /r/flutterdev subreddit:

[POC] Flutter MQTT client using MQTT protocol
Hello everyone,Since there is a shortage of Chat libraries in Flutter, I created a simple POC a week ago, it is a Flutter MQTT client for chatting app. The work is still in progress and I want you to give me some hints.You can check the application repo here.The Broker (MQTT server) that I used is HiveMQ with a custom chat extension.

September 08, 2021 at 11:00AM by Coffee__2__Code
https://ift.tt/3yU5WPE
New post on /r/flutterdev subreddit:

All my Flutter Animations Course projects are now on GitHub!
My Flutter Animations Course shows you how to build completely custom habit tracking application, along with some smaller projects such as the iOS stopwatch app.While the course is paid (and it was a lot of work to make!), I decided to share the source code for all the projects for free on GitHub:https://github.com/bizz84/flutter_animations_course_materialsThis repo also contains the full course syllabus, along with extra resources to learn about animations.Happy coding!

September 08, 2021 at 11:55AM by bizz84
https://ift.tt/3DY15jV
New post on /r/flutterdev subreddit:

Should I use SignalR with Flutter?
I need to add RTC features in my app. I am dotnet developer so I give chance firstly SignalR. Which one to should I use? SignalR, gRPC, SocketIO, Websocket. Also I need to use with Flutter. Is packages are enogh for SignalR.I am thinking like all backend system should be similar for performance. Can you give me advise for that?

September 08, 2021 at 03:34PM by Presentation-Short
https://ift.tt/3naEvPi
New post on /r/flutterdev subreddit:

Is Flutter good for building a video sharing social network?
I am new to Flutter and I just wanna ask a really quick question:Is Flutter suitable to make a video sharing app(like Tiktok and Youtube).I've heard some review that Flutter currently has a poor media capibility.Is this true and what's compare to other cross-platform framework?Tks.

September 08, 2021 at 04:44PM by Emergency-Carpet-728
https://ift.tt/2X4pTq1
New post on /r/flutterdev subreddit:

Announcing the Flutter 2.5 stable release
Hello and welcome to Flutter 2.5! This is a big release, with the 2nd highest stats in the history of Flutter releases: 4600 issues closed and 3932 PRs merged from 252 contributors with 216 reviewers. If we look back over the last year, we see a huge 21,072 PRs created by 1337 contributors, of which 15,172 of them were merged. While the “what’s new in Flutter” blog posts focuses on new features, our #1 job with Flutter is always making sure you have the features you need at the highest possible quality level.And in fact, this release continues a number of important performance and tooling improvements to track down performance problems in your own app. At the same time, there are a number of new features, including full screen support for Android, more Material You (also called v3) support, updated text editing to support switchable keyboard shortcuts, a new, more detailed look at your widgets in the Widget Inspector, new support for adding dependencies in your Visual Studio Code projects, new support for getting coverage information from your test runs in IntelliJ/Android Studio and a whole new app template to serve as a better foundation for your real-world Flutter apps. This release is jam-packed with exciting new updates, which you can read about in the blog post:https://medium.com/flutter/whats-new-in-flutter-2-5-6f080c3f3dc

September 08, 2021 at 07:13PM by csells
https://ift.tt/3nb0Jkh
New post on /r/flutterdev subreddit:

Firebase uses generic names for its classes
Back a while, firebase auth had a class named 'FirebaseUser' and after that they changed it into just 'User' (which broke a lot of my code). I know it's been long since that happened but what are your thoughts on using generic class names like 'User', 'Connection' etc in APIs? P.S. I do not have much experience in Flutter/Firebase.

September 08, 2021 at 06:53PM by fellow_manusan
https://ift.tt/3yZkdu9
New post on /r/flutterdev subreddit:

I made an app that schedules work-break intervals (e.g. Pomodoros) around your calendar events
I made an app that uses genetic algorithms to schedule work-break intervals, like Pomodoros, around your existing schedule events. I was blown away by how fast I could generate 100,000 possible days in a mobile environment. All in Flutter!Would love to hear what people think!
https://play.google.com/store/apps/details?id=com.DayBreak.apphttps://apps.apple.com/us/app/daybreak-smart-scheduling/id1575736839https://github.com/amrothemich/DayBreak

September 08, 2021 at 06:43PM by breakfastboii
https://ift.tt/3nfbT7q
New post on /r/flutterdev subreddit:

New form library - Flutter Auto Form
Hello everyone,When Flutter first became public, I started to create a new form system because I always felt like it was such a p*** in the *** to create a form, including validation, loading dialogue, error display, etc. Then a few months ago, I decided to export a part of the system that I have been building for some years in the form of a package available on pub.dev.The package is only a replica of my library since I am not sure what to include... More on that later.So how does it work?Well, the first thing you have to do is to create a class extending the TemplateForm class. If we wanted to create a login form, it would look like that:
import 'package:flutter_auto_form/flutter_auto_form.dart'; class LoginForm extends TemplateForm { @override final List<Field> fields = [ AFTextField( 'identifier', 'Identifier', [ MinimumStringLengthValidator( 5, (e) => 'Min 5 characters, currently ${e?.length ?? 0} ', ) ], AFTextFieldType.USERNAME, ), AFTextField( 'password', 'Password', [ MinimumStringLengthValidator( 6, (e) => 'Min 6 characters, currently ${e?.length ?? 0} ', ) ], AFTextFieldType.PASSWORD, ) ]; } 
As you can see, there already is a set of pre-created validators. But since the goal of this package is also to let you create whatever you want, you can always make your validator!Then all you have to do is to create an AFWidget where you want to display a form:​
AFWidget<LoginForm>( handleErrorOnSubmit: print, formBuilder: () => LoginForm(), submitButton:(submit) { return MaterialButton( child: const Text('Submit'), onPressed: () => submit(showLoadingDialog: true), ); }, onSubmitted: (LoginForm form) async { await Future.delayed(const Duration(seconds: 2)); print(form.toMap()); }, ); 
And that's all! You now know how to create a fully-fledged fledged login form with Flutter Auto Form.Advanced modeIf you need to create your own field, you can always do it using the AFThemeData and Field class. To understand more about that, you can always look at the implementation of the AFTextField class!ConclusionTo end it, I would really love to hear your thought about this package. It's currently still in dev so please be understanding!LinksGithub repoPub.dev

September 08, 2021 at 06:08PM by gaspard-m
https://ift.tt/3jTyFQb
New post on /r/flutterdev subreddit:

My Experience Job Hunting
I wanted to share my experience with the job hunt in regards to flutter. I’m a non IT-working individual who has been teaching myself programming for roughly the last 2 years.Picked up flutter about 6 months ago, and started freelancing 2 months ago.I’ve updated my LinkedIn profile to say “Freelance Flutter Developer” shared my projects, updated my portfolio site, and have made connections to several recruiters at companies I’m interested in.Like some of you, I’m looking for a place to get started at.I’m on my 3rd interview this month, and am constantly getting message requests about contract/freelance opportunities from recruitment agencies on LinkedIn.Granted, one of those interviews is at a company that I’ve been connecting with for the last year or so, and it’s not a Flutter role but an IOS development role.I’m not sure what advice to offer, but I’d say if you have the free time to start freelancing. There are a ton of simple projects that you can definitely do on UpWork, while building up your skills and confidence.Optimize your LinkedIn profile, and start applying today. There is a huge need for capable Flutter/App developers and if contract or freelance work is your ideal work there’s an even larger demand for that.I can only imagine it growing more and more.

September 08, 2021 at 07:35PM by Old-Ad-2870
https://ift.tt/3zWNuqW
New tweet from FlutterDev:

⚡️💙 Time to bust jank and look good doing it -- Flutter 2.5 is ready! ✔️ Performance improvements ✔️ DevTools updates ✔️ New Material You support ✔️ A new app template (the skeleton!) And more! Dive in → https://t.co/vIivn3rCQ4 https://t.co/Fuwtsjab0Y— Flutter (@FlutterDev) Sep 8, 2021

September 08, 2021 at 08:00PM
http://twitter.com/FlutterDev/status/1435664264816205832