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

Movie Streaming app UI design built in flutter
Hello developers,My friend is working to UI designs, yesterday he just published Movie Streaming app UI design built in flutter, please give a star if you like ithttps://github.com/chromicle/awesome-flutter-ui

March 17, 2021 at 07:58AM by donetob950
https://ift.tt/2Nqauvj
New post on /r/flutterdev subreddit:

Flutter Design Patterns: An overview of the Mediator design pattern and its implementation in Dart and Flutter
https://ift.tt/3lmvhfZ

March 17, 2021 at 09:33AM by mkobuolys
https://ift.tt/3vBsTGX
New post on Flutter Dev Google group:

Flutter Multiselect Chips from API
I am using this Package
New post on /r/flutterdev subreddit:

Dart/Flutter sound null-safety good enough??
Hello everyone,I would like to start a discussion if the new “sound null-safety” is enough or if dart/flutter should go even further to a “sound language” (whatever that means)?First of all, coming from iOS/MacOs development with Swift/UIKit/Swiftui, flutter is very exciting and fun and first impression is great. None the less even after this new “sound null-safety” which is a good start, Swift seems to be the much safer (better?) language.For me the idea behind null-safety is making your program much safer and crash less often. But null-safety only treats part of the problem. Let me explain why:EXAMPLE1
exam1(i) { var n1 = i + 4; // should this be okay? int n2 = i + 4; // this compiles int n3 = 4 + i; // this does not } 
In my dream world this code should – from a safety standpoint – not compile. Adding the integer 4 to anything that I put in and it is okay with that?? This is madness! Creating an integer from anything plus 4 is okay? Strangely enough 4 plus anything is not okay?The language should force me to use specify types everywhere! Leaving it blank to mean “dynamic” should not be an option. Being explicit is key! “Yes I want dynamic type here” / “Oops you are right, the input/var should be an int”.If I use dynamic type, it should again force me to cast it to an integer before use and provide a default value if that fails.EXAMPLE2
void exam2() { List<int> nums = [1, 2, 3]; int n1 = nums[8]; // not safe (crash) int n2 = nums.elementAt(8); // not safe (crash) // something like this should be possible if nullable types were used instead of exceptions and it would be safe //int n3 = nums[8] ?? 5; //int n4 = nums[8, default: 5]; //int n5 = nums.elementAt(8) ?? 5 //int n6 = nums.elementAt(8, default: 5) } 
Why is there no easy and short why to access a list in a type safe way (without comparing index to list length)? If indexing a list or using elementAt provided a nullable type (e.g int?) you can work with lists in a 100% type safe way and even specify a default value if the index is out of range.Dart should make more use of nullable types and less exceptions. Exceptions crash your program (if not handled); using nullable types and null-safety prevents this.EXAMPLE3
void exam3() { List<int> nums = [1, 2, 3]; int n1 = nums[8]; } 
Calling a function should always (99.99%) be safe. Other programming languages have keywords like “throw/throws/throwing” to indicate that a function call is not save and you need to handle errors. For me it is super annoying that I cannot be sure that the function I call is safe and I might have to dig into the documentation for details. Again, having the language/compiler force me to specify throwing functions with a keyword and to handle those exceptions provides safety!There should be some keyword that indicates if a function/method can throw an exception so the compiler forces you to handle these to provide safety.​Sound null-safety is a great start but there is much more a language can do to prevent bugs/errors/crashes.I think in a “sound language” the program should not be able to crash unless the programmer explicitly allows it!This is only my opinion that is heavily influenced after using swift for many years.Do you think this is something that is planned for dart (maybe 3.0?), or do you think that the new “null-safety” is safe enough and the dart/flutter team will not improve safety much more??

March 17, 2021 at 10:57AM by JulianCologne
https://ift.tt/3rYow6p
New post on /r/flutterdev subreddit:

A post about Hive Database in Flutter! It's about storing Custom objects ie. Creating TypeAdaptors!
https://ift.tt/3vBfcri

March 17, 2021 at 10:33AM by mukhtharcm
https://ift.tt/38Pkvtx
New post on /r/flutterdev subreddit:

Tool for screenshot creation
Hi all! I made a tool to make my life easier when capturing screenshots. If you have time, take a look at it and send your feedback! https://borosr.medium.com/how-to-capture-screenshots-for-a-flutter-app-d0aaca7f6cac

March 17, 2021 at 11:54AM by borosr
https://ift.tt/3ePHw39
New post on Flutter Dev Google group:

Re: Flutter MultiSelect Chips
I see the code calls fetchData method in initState. What is not working? On Wed, Mar 17, 2021 at 06:12 Navin Prakash
New post on Flutter Dev Google group:

Getting Bool State from Firestore in Dart
Hello! I am trying to get a bool value from Firestore when the app is being initialized: it returns True if it is "like" and False if it is not "like". Every time a user likes/unlikes a post, a database (called userFavorites) is being created or update on Firestore. The userFavorite database is

March 17, 2021 at 02:09PM by Alvaro Gonzalez Rico
https://ift.tt/3vBrRe0
New post on /r/flutterdev subreddit:

E-Commerce App Template
Y'all seemed to have liked the Social Media app template I released a few weeks ago... So here is one for an E-Commerce app!Check it out at flutterui.design.Again, feel free to use any of this code in your projects and I'm open to feedback!P.S: Some of the design inspiration came from The Flutter Way YouTube channel.

March 17, 2021 at 03:12PM by Apallon
https://ift.tt/3ePi127
New post on /r/flutterdev subreddit:

My new package curved_splash_screen
Hello everyone, I made a new package called curved_splash_screenhttps://pub.dev/packages/curved_splash_screenhttps://github.com/hosain-mohamed/curved_splash_screenIt is splash screen with curved custom bottom sheet and dots indicator within it.
You can add your custom splash screens according to it's index.
You can change any color of the items of the bottom sheet.
You can specify the text of back and skip button and their color.
All items in the bottom sheet is responsive to the screen size.Don't forget to like it. If you have any modifications let me know.Thanks & regards

March 17, 2021 at 02:27PM by Crafty-Daikon-828
https://ift.tt/3vCHl19
New post on /r/flutterdev subreddit:

What is wrong with the video and image format support in flutter?
The last time I checked which was about almost a year back the support for standard formats like MP4 and HEIC (standard image format under iOS) was terrible. I'm concerned that it still is! What bothers me even more is that the new Apple ProRAW format well probably never be supported (considering that HEIC is used for years as standard and still isn't supported).Does anybody know about improvements in this area? I mean the next big cross-platform framework should at least support the major formats like jpeg, png, webm, mp4, mov, raw and probably some more.What do you guys think?

March 17, 2021 at 02:21PM by Hard_Veur
https://ift.tt/3vBSQ96
New post on Flutter Dev Google group:

Static Analysis in Azure Pipeline for Flutter
Hello! To increase the quality of our code base, we would like to disallow checking in code with any errors, warnings, or hints as suggested in the pedantic package by Google. However, I was not able to find any tutorials setting this up for a Flutter project in Azure Pipelines. So does

March 17, 2021 at 03:48PM by Giuseppe Cianci
https://ift.tt/3eSEgEi
New post on Flutter Dev Google group:

Protect Flutter Web PWA Download Purchases
Developing my first Flutter Web App (PWA) and Flutter 2.0 is working wonderfully. I plan on selling the PWA but concerned about people being able to share the web link from FireBase with out purchase. How would I lock down the downloads to purchasers only? Thank you, Ed

March 17, 2021 at 05:03PM by Ed Ferrari
https://ift.tt/3s1tn6U
New post on Flutter Dev Google group:

CheckList not working
I am trying to make an alert that allows you check off an item that you selected and for some reason this checkboxlisttile isn't working for me. Is it because I have it in a stateful widget? How can I fix it. Thanks. class AddName extends StatefulWidget { AddName({Key key}) : super(key: key);

March 17, 2021 at 05:36PM by Mark Valeriani
https://ift.tt/3lqVSbR
New post on /r/flutterdev subreddit:

Try your banking website, then try this Flutter web app
There was a recent tweet sharing a payments webapp built in Flutter Web. I tried it and was blown away. I'd just come from using my bank accounts and the web app felt so smooth by comparison. If I didn't read that it was built with Flutter Web, I'd never have been able to tell.https://moi.codemate.devAt Codelessly, I've built a few websites in Flutter and we're building a Flutter UI builder web app in Flutter but we've always targeted mobile apps. Now, it's amazing to see how performant Flutter Web can be (albeit in Chromekit browsers) so it looks like we'll be supporting web apps too.

March 17, 2021 at 05:49PM by Codelessly
https://ift.tt/3tBktgZ
New post on Flutter Dev Google group:

Learning
Dear Team , I was starting learning flutter from 2019 but couldn't get confidence to make something out of it. That's leave in middle every project after sometime. Still feel I don't know nothing about it. So would you like to share the roadmap for learning as well as projects base. How should

March 17, 2021 at 06:10PM by Muradullah khan
https://ift.tt/3qX77tE