Flutter Heroes
26.1K subscribers
272 photos
2 videos
31.1K links
Download Telegram
New post on Flutter Dev Google group:

Flutter Smart TV app
Hello, I am working on a Flutter app that supports smart Tv, I have had a challenge with the login page because it keeps losing focus once I navigate from text fields to button. This has lead the app to be rejected on the google play store severally due to D-pad issues. Similar issues: https://w

May 25, 2021 at 08:04AM by Prince Kelvin
https://ift.tt/34cv331
New post on /r/flutterdev subreddit:

Null Safety with Randal Schwartz - Flutter 101 Podcast
Listen to the episode here: https://flutter101.dev/episodes/null-safety-with-randal-schwartzFind out more about the podcast at flutter101.dev. Available on Apple Podcasts, Google Podcasts, Spotify, and more.​My guest today is Randal Schwartz. He is a Google Developer Expert on Flutter and Dart. He is also very active in the Perl community and he wrote multiple books on Perl, he was the host of FLOSS weekly, a podcast about Free Libre Open Source Software.In this episode, we focused on null safety with Dart. Dart 2.12 added support for null safety. When you opt into null safety, types in your code are non-nullable by default. This means that variables can't contain null unless you say they can. With null safety, your runtime null-dereference errors turn into edit-time analysis errors.We also talked about migrating our existing code to null safety, and the migrations tools that can help us make the migration process as seamless as possible.

May 25, 2021 at 08:06AM by serial_dev
https://ift.tt/3ujmU7M
New post on /r/flutterdev subreddit:

Flutter in Schools
We are excited to announce that Mark Mahoney will be on Allen's podcast show on May 26, 2021, 14:00-15:00 (GMT). Mark is the Professor of Computer Science at Carthage College, Illinois, United States, and… he is Allen’s professor back then! Join us live to see how the teacher-and-student combo shares their “code stories!”https://youtu.be/ic357f2KEyg

May 25, 2021 at 12:13PM by plangora
https://ift.tt/3oUzysH
New post on Flutter Dev Google group:

Adding documents with same ID to Firestore at the same time
Hello! I want to add 2 documents with the same ID to Firestore when doing the following: I want the *bold* one to have the same document ID as the non-bold one, since both are adding the same info to different places in Firestore. How could I do this? Thanks void _sendPost() async { FirebaseFi

May 25, 2021 at 02:16PM by Alvaro Gonzalez Rico
https://ift.tt/3oLv2Nc
New post on Flutter Dev Google group:

How to prevent app tampering in Flutter (removal of ads)?
I recently made an app and it had Admob ads integrated in it. After a few days as soon as the app had a few thousand downloads, someone modded the app and removed the admob ads and that app started getting shared. Admob revenue was the only source of income to keep that app alive as I am a

May 25, 2021 at 03:02PM by Priyanshu Singh
https://ift.tt/2Td4PLD
New post on /r/flutterdev subreddit:

Is the HTML renderer inferior to CanvasKit?
I struggled a lot with a recent production app experiencing issues including: - Text randomly changing spacing when scrolling - Things cut off at sides of their containers for no reason - Labels misaligned on charts - TextOverflow not working no matter what - scrollable views which are not loaded lazily being slow and choppySpent hours on hours debugging and wrapping things in never ending pyramids of Columns, Rows, Flexible, Expanded etc., which sometimes did the trick in the end, sometimes not. I was starting to think It was a mistake to invest time in Flutter in the first place.I was using the HTML renderer (switched from canvaskit because it doesn't show network images locally). Then I switched back to canvaskit and presto, 99% problems are just not there.Hence the question, is the html renderer generally worse/less reliable or I'm doing something wrong (maybe there are certain rules you need to know to use the latter)? Did others also encounter problems with it?

May 25, 2021 at 02:50PM by HeftyImplement
https://ift.tt/3vfa37P
New post on /r/flutterdev subreddit:

Adding documents with same ID to Firestore at the same time
I want to add 2 documents with the same ID to Firestore when doing the following (see code below). I want [2] to have the same document ID as [1], since both are adding the same info to different places in Firestore. Right now, [1] and [2] give me different document IDs. I want to see if it is possible for them to have the same ID. Preferably if [2] can have the same doc ID as [1]. How could I do this? Thanksvoid _sendPost() async {FirebaseFirestore.instance.collection('post').doc(docX).collection('posts').add({}) [1]FirebaseFirestore.instance.collection('users').doc(user.uid).collection('userPosts').add({}) [2]}

May 25, 2021 at 03:28PM by Alvaro-99
https://ift.tt/3flx6Zf
New post on /r/flutterdev subreddit:

Stream provider with rest api
Guy's anyone know how to fetch data list for API via stream provider or future provider. I use provider for my state management for a long time mainly in last 2 3 application but it's not give the live data until you not call it's again by user side so I do some research and found about stream provide. But I doesn't know how to use it's for API call I use several technice but nothing worked so anyone know how can fetch data or any article video

May 25, 2021 at 03:27PM by Prashant_4200
https://ift.tt/3i5db2z
New post on Flutter Dev Google group:

About In App Purchase...
Hello how are you doing ..! Sir i want to add in app purchase in my app and i am not understanding how can i add.. Dear sir can you tell me that how can i do...or can you provide me the any link of your official video made on in app purchase method....

May 25, 2021 at 04:18PM by Qaim Raza
https://ift.tt/2RLuCtV
New post on /r/flutterdev subreddit:

Is customizability more difficult with Flutter than Kotlin?
Hi, I’m looking to build an app on iOS and Android and currently weighing different options (Native vs Flutter vs React Native). I think I’m probably down to Native vs Flutter.I'm fine with one design across Android and iOS but I'd like to have a few custom views and elements (custom date picker, custom calendar view, etc.). I’ve heard widgets mentioned a lot with flutter...does that mean it’s harder to create non-standard views/elements? Or is still faster to create non-standard views with Flutter than it is with Kotlin or Swift because of hot reload and other features?Sorry for the noob question, just trying to get a better understanding. Thanks.

May 25, 2021 at 05:00PM by purecoaster
https://ift.tt/2QVlRNK
New post on /r/flutterdev subreddit:

Codename One's Comparison With Flutter. Misleading?
Codename One is a cross-platform framework that's been around for several years, but I'd only heard about it recently. The official site has a comparison with Flutter that seems to be misleading or even an outright lies, but I'm not knowledgeable enough about Flutter to say for sure. Any thoughts on these claims?"Flutter is an entirely separate VM which means every Flutter app pays the price of two separate VMs communicating among themselves. This means an inherent, permanent overhead in size/performance and portability that can’t be erased. ""Flutter tries to simplify the programming model by removing threading from the equation. While this does make some elements simpler, it makes other things far more cumbersome. Since native code and the physical OS use threading all profiler/debugging data is much harder to work with due to the asynchronous nature of all calls."

May 25, 2021 at 04:35PM by David_Owens
https://ift.tt/3vq4Zxu
New post on Flutter Dev Google group:

Flutter outside project Exception: null. The flutter tool cannot access the file or directory
I'm sorry for my bad english. My problem flutter outside project not run build. Error = Exception: null. The flutter tool cannot access the file or directory. Please ensure that the SDK and/or project is installed in a location that has read/write permissions for the current user. project have

May 25, 2021 at 06:52PM by mehmet emin sayım
https://ift.tt/3fhqif5
New post on /r/flutterdev subreddit:

is this type of website possible to make with flutter web?
https://ift.tt/34k5ayx

May 25, 2021 at 06:56PM by opinvader
https://ift.tt/3hSd4Ht
New post on /r/flutterdev subreddit:

Quick chats backend in Flutter
Hi everyone! I would like to ask you how to quick implement a backend to create chats between 2 or more users on Flutter App. I found some software/web sites but they have a cost, I would like to do it for free but I think I should do it by myself using Firebase, I don't think that 3rd part software (or libraries, frameworks...) allow me to avoid this payload. But I ask, may there's something around...

May 25, 2021 at 06:27PM by _seeking_answers
https://ift.tt/3ul74t9
New post on /r/flutterdev subreddit:

Don't Provider and BLoC handle different aspects of state management?
Provider is just a wrapper around InheritedWidgets, it allows me to have dependency injections anywhere in my widget tree when I have lifted state up.BLoC lets me create an interface for business logic consisting of sinks and/or streams..I can use provider to inject these into the widget tree.Unless I am missing something obvious here, I don't see why I choose one or the other..unless I use BLoC with InheritedWidget, which seems kinda dumb.

May 25, 2021 at 07:33PM by DIYjackass
https://ift.tt/3oMPKMH
New post on /r/flutterdev subreddit:

Writing an e-book but storing my book no in sql?
typo: not* in SQLHello! I want to write a book with flutter but I don't think it will be long enough to store mypages in sql db. So I am just thinking of hard coding my book in a collection type like list( maybe it sounds quite stupid) but I am wondering if it is a bad practice and also if it can be revealed to my customers so that they can easily copy my book(I think it will be compiled but does this fact mean they will have difficulty checking what my code will look like easily??)​Thanks for your help and answer in advance!

May 25, 2021 at 07:27PM by nimbusmettle
https://ift.tt/3yF9ypC