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

Flutter android imagepicker permissions
In the recent post for data protection page Android/playstore made it clear if you're taking images/videos from a device you need to ask permission.Declares at least one of the following permissions: READ_EXTERNAL_STORAGE WRITE_EXTERNAL_STORAGENow flutter imagepicker isNo configuration required - the plugin should work out of the box.And if I am asking permission explicitly app is not responding to the permission means not invoking what should I do. Flutter image-picker explicitly ask permission I am only picking images. Then uploading it to firebase.

November 14, 2021 at 04:46AM by Same-Concern6282
https://ift.tt/3kzbT01
New post on /r/flutterdev subreddit:

Getting null value in QuerySnapshot
Hey guys, I am trying to create a chat app and getting null value in QuerySnapshot while searching for users. I have pasted the code above and the screenshot of the same is attached below.Within the screenshot, The error is that the value is null. What should I do to fix it?https://pastebin.com/UaEdBpZ2

November 14, 2021 at 06:19AM by Fit_Honeydew_8284
https://ift.tt/30l5ePI
New post on /r/flutterdev subreddit:

Flutter getx stateless checkbox does not show checked after being tapped or clicked
Flutter getx checkbox is not updating in view file after being checked. The checkbox should be checked. What is the problem?​In the file : controller.dartclass FormController extends GetxController {final bool checkValue = false;}In the file : view.dart.....final FormController controller = Get.put(FormController());Row(children:[Checkbox(
checkColor: Colors.white,
hoverColor: Colors.amberAccent,
value: controller.checkValue ,
onChanged: (val) {
controller.checkValue=!controller.checkValue;
}),],).....

November 14, 2021 at 07:31AM by knockhome
https://ift.tt/3CelyyY
New post on /r/flutterdev subreddit:

Should I start with Flutter (Dart-OOP) or RN (Js-functional)
Hi,I want to be a mobile developer and I'm starting from scratch.I want to learn both Flutter and React Native. I don't know which one to start FIRST.Does it matter which one I should start with since dart is oop and js is functional?(I don't know the difference between object oriented programming and functional though.)If I start with one, will I have a hard time switching to the other?

November 14, 2021 at 10:40AM by obareyhan
https://ift.tt/3kw4Vc4
New post on /r/flutterdev subreddit:

Which will be faster?
a. Flutter + PHP Apisb. Flutter + dart

November 14, 2021 at 12:28PM by SweetMaya77
https://ift.tt/3owdoxj
New post on /r/flutterdev subreddit:

Learning Java as a Flutter developer
Hey Flutterdevs. Flutter noobie here (coming from Javascript). I've heard a lot of Flutter developers saying Java has played a big role in their understanding of the framework and the Dart language . I was wondering if would I be at a disadvantage if don't learn Java moving forward or should I focus on just Flutter . Looking forward to hearing your thoughts. Thanks in advance.

November 14, 2021 at 03:02PM by randomCoder69
https://ift.tt/3CeVu6W
New post on /r/flutterdev subreddit:

Why isn't refresh rate a top priority issue for Flutter? Rant-ish
So this will be a rant I guess. Flutter seems like a great tool and I'm eager to use it, especially in the Desktop environment. But something is really bugging me. It's the fact that Flutter doesn't go above 60fps. Like, hello...? It's almost 2022 where high refresh rate displays are very common, and now it's even mainstream due to new iDevices targeting 120hz. Increased refresh rate gives a very much better user experience and when it drops lower than normal, it's very noticeable and makes the app feel like it's lagging and slow.I've checked a lot of github issues relating to this. The first issues were related to Android devices where someone had to make a plugin instead of making changes to the flutter framework itself. And there are Desktop github issues from 2019 where nothing has been done since. Just slapped a P5 or P4 on it, said "this is an engine issue" and called it a day. Now that Flutter iPhone apps aren't ProMotion compatible, it brought some attention to this issue. But from what I understood, nothing is being done in the near future since they slapped a P4 on that github issue as well.I just can't treat Flutter with it's supposedly "Beautiful UIs" and "Native Performance" as a serious tool to built my apps with, when such an important feature as refresh rate isn't a priority. What do you think?

November 15, 2021 at 04:43AM by asdfasdf666_
https://ift.tt/30s9Q77
New post on /r/flutterdev subreddit:

What about Dynamic Colour from Material 3?
Is there any way to implement Android 12's new dynamic colour schemes in Flutter? I saw a Medium article about accessing the M3 palette, but there is no instruction on how to use those palettes. It doesn't generate a theme.Anybody know how to access the M3 theme data from Jetpack Compose?

November 15, 2021 at 01:41PM by imdeadinsidelol
https://ift.tt/3qFn7nE
New post on /r/flutterdev subreddit:

How to Encrypt and decrypt using rsa encryption algorithm
Please is there someone here that knows how to encrypt and decrypt data by generating and using public and private key pairs like RSA encryption algorithm or any other method and be able to still encrypt and decrypt in other languages like php script using the keys

November 15, 2021 at 01:24PM by Brightisaac
https://ift.tt/3wL0VJL
New post on /r/flutterdev subreddit:

How to handle Streams in Clean Architecture ?
Hi,
I have been testing the Clean Architecture lately and I am wondering how other people handle Streams in such architectures ?Most examples in Dart only use Futures with a usual russian dolls pattern : a Future useCase calls a Future repository that calls other Futures from different data sources.But I am not sure how to approach things when my useCase requires to "listenToSomething" with different data sources, considering stream lifecycle management and that each architecture layer might have to perform a specific action with that stream.

November 15, 2021 at 05:02PM by epic-x-cure
https://ift.tt/3nhEAAf
New tweet from FlutterDev:

📣 Announcing Package support for DartPad! We're thrilled to announce that package support is coming to DartPad! Dive into the blog to learn about: 🎯 How it works 🔥 Support for @Firebase 💙 Getting your favorite packages supported on DartPad Read 👇 https://t.co/Fh5vwwTehe— Flutter (@FlutterDev) Nov 15, 2021

November 15, 2021 at 06:15PM
https://twitter.com/FlutterDev/status/1460295420916080642
New post on /r/flutterdev subreddit:

Flutter + Clean Architecture + ModelViewPresenter - An alternative approach to write a modern scalable App without the need of external libraries for your State Management. No more magic code!
https://ift.tt/3otIwgF

November 15, 2021 at 08:17PM by makavelixx
https://ift.tt/3HAT6eP
New post on /r/flutterdev subreddit:

Building and Deploying a Dart Web Server
https://ift.tt/3qGsgM7

November 15, 2021 at 11:10PM by Nash0x7E2
https://ift.tt/31T8xyj
New post on /r/flutterdev subreddit:

Map(...).toList() vs ListView()
So im just wondering what approach is more optimized in regards to displaying 100 up list of data

November 16, 2021 at 02:21AM by kurtRuzellEstacion
https://ift.tt/3qHFAju