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

Timely advice about adding days to a DateTime: showing that .add(Duration(days: 1)) is always 24 hours, despite the day in question being 23 or 25 hours.
https://youtu.be/usFSVUEadyo

March 30, 2021 at 05:39AM by RandalSchwartz
https://ift.tt/2O7QzBO
New post on Flutter Dev Google group:

I am getting so many unresolved errors in AndroidManifest.xml. How can I solve them?


March 30, 2021 at 06:09AM by sona
https://ift.tt/3diFFld
New post on /r/flutterdev subreddit:

A Scalable Approach to Localization for Flutter
Hey, I recently wrote an article on Medium about how to build a scalable localization architecture for your Flutter app. The proposed system supports real-time updates of translations independent of app releases and the ability to add new locales in a matter of seconds. Check it out at https://medium.com/routable-ai/a-scalable-approach-to-localization-for-flutter-4b94ae2f228d.

March 30, 2021 at 07:04AM by arubin18
https://ift.tt/2PJRRTN
New post on /r/flutterdev subreddit:

Flutter using VS Code Autocomplete for beginners any good?
Hey, hello!I am a flutter beginner and I just now got a thought that, is using or I usually use VScode for flutter and yes those amazing extensions which really help me a lot.​but I am worried do, they stop me from remembering or learning the code as most of the code or boiler plate already comes with just a single click most of the time, So, should I use it or not while learning flutter.as mostly it is preferred to learn by turning it of or not using IDE's with this features till the beginner stage completes.​hope you got the point,and sorry for the mistakes!

March 30, 2021 at 06:31AM by chota_balak
https://ift.tt/2QLPHDL
New post on /r/flutterdev subreddit:

Flutter ios image_picker for OCR
Gday m8. I need help on image_picker libraries that cant seems to save the file in state to import it to another pageOnly works on android ATM. Having problem with iOSThe error were stated as below when I wanted to import the imageFile to the next page for OCR[2:10 PM]2021-03-27 09:25:20.140565+0800 Runner[2071:1017673] flutter: Instance of 'FirebaseVisionImage' 2021-03-27 09:25:20.147806+0800 Runner[2071:1017464] Terminating app due to uncaught exception 'FIRInvalidImage', reason: 'Input image must not be nil.' First throw call stack: (0x1aedfb3d 0x1a167067 0x1aedfa85 0x2adcdb 0x320285 0x3200dd 0x31fd89 0x31fb5b 0x20fa20d 0x1c7d9d7 0x1ef525f 0x1eaf8b9 0x1eb0f3b 0x1ae9c637 0x1ae9c339 0x1ae9bd37 0x1ae99dd5 0x1aded1af 0x1adecfd1 0x1c597b41 0x20175a53 0x1014b3 0x1a5da4eb) libc++abi.dylib: terminating with uncaught exception of type NSException[2:12 PM]

March 30, 2021 at 08:46AM by jojos93
https://ift.tt/2PaUj6d
New post on /r/flutterdev subreddit:

It's possible to create directly firebase collection and there fields from flutter also fetch the collections name
.

March 30, 2021 at 08:41AM by Prashant_4200
https://ift.tt/3wdAuMb
New post on /r/flutterdev subreddit:

Using function Widgets inside Stateless Widgets
I am making a page body (Stateless Widget) that is comprised of several elements. For the ease of structure, I have this approach:Widget firstPart() { return Container(child: Text(“first part”)); }Widget secondPart() { return Container(child: Text(“second part”)); }etc.. (this all goes inside the same Stateless widget class)And then for the @build, I combine firstPart(), secondPart() as children of a Column.Does this approach induce any performance hit? Should I make firstPart(), secondPart() separate Stateless widgets, or copy-paste their code to the @build ?Thanks!

March 30, 2021 at 08:31AM by aveMind
https://ift.tt/3cxHr2E
New post on Flutter Dev Google group:

change selected color checkbox on datatable
hi, i'm just using datatable , i wonder how can i change selected color checkbox on datatable , anyone know ? [image: Screenshot 2021-03-30 183452.png]

March 30, 2021 at 01:39PM by You Sour
https://ift.tt/2PbQNsg
New post on /r/flutterdev subreddit:

Call for assistance: macos_ui package
Hi everyone.In light of discussions I've had on Twitter about the lack of a macOS style widget/theme pack, I've started a package for this: https://github.com/GroovinChip/macos_ui. This is a huge undertaking so I'd appreciate any assistance, be it advice, feedback, repo maintenance, code contributions, or simply spreading the word.Thanks!

March 30, 2021 at 02:39PM by GroovinChip
https://ift.tt/39pOb0y
New post on /r/flutterdev subreddit:

Would anyone like to share their portfolio site made using flutter web?
Hi, I am an app developer. I have been using flutter for a long time now. Since flutter web is in stable channel now, I am thinking of creating my portfolio site using flutter only owing to it's amazing UI capabilities. Let me know if anyone else has done that. If you haven't created it using flutter, I would still like to look at it and may be recreate it in my own way using flutter :)

March 30, 2021 at 03:57PM by rushilmakkar
https://ift.tt/3sCR9qf
New post on /r/flutterdev subreddit:

Getting Bool State from Firestore in Dart
Hello! I am trying to get a bool value from Firestore when the app is being initialized/reloaded: 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. So when initializing/reloading the app, I'm trying to get access to this True/False for each of the posts that are being displayed on the UI (if the user has never liked or unliked the post, the value for this bool will automatically be False). The problem that I am having is that I am not able to get and display the T/F bool value from the Firestore database into the UI each time a post is reloaded (or seen on the screen). What code could I use to do that? Thanks!

March 30, 2021 at 03:21PM by Alvaro-99
https://ift.tt/3u7qWjT
New post on Flutter Dev Google group:

Flutter error in dart
Kindly someone help me to solve this error. Thanks in advance With regards, Rakesh Lahkar

March 30, 2021 at 04:34PM by rakesh...@gmail.com
https://ift.tt/3u5FuR1
New post on /r/flutterdev subreddit:

Normalized state in Bloc Flutter
Like everyone, I am also confused about statemanagement in Flutter, but I really like Bloc and the library. But one thing is not clear. I read all the docs and all the tutorials already.I come from redux where you have one big global store, in which you have normalized states. I don't know if I should or how I should correlate redux to bloc, but they felt similar from the beginning and they still do. You have a state, events and you listen to state change and trigger events..Say I have an app where I have posts, I might create, list a post show it in a screen, in another screen etc. I might fetch and cache an post. Doesn't this require me to have a normalized state somewhere? And where?Normalized state is basically having a single place for storing an object, like storing it in a map, and referring to that object in other places by id, then using the map to show the object in the UISo where should I put normalized state in Flutter? In a bloc? In a bloc high up in the tree? In the repository? Should I use normalized state at all or is there another way to think about this? Thank you!

March 30, 2021 at 06:32PM by TurquoiSeas
https://ift.tt/3waKBBl