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

flutter_data | build fast with an offline-first, auto-generated REST client
https://ift.tt/2ScRPCq

April 28, 2020 at 01:06AM by jdixon04
https://ift.tt/3cWhCH8
New post on /r/flutterdev subreddit:

How to handle FCM notification without firebase_messaging?
Hello everyone,I'm developing an app that relies heavily on notifications sent by my backend via FCM. These messages are data messages that need to be handled via background message.Now, the obvious solution for that is to use library firebase_messaging. The issue is that I'm having some problems with it that seem like old problems that are taking longer than expected to be fixed.The issues are:Every notification received by the app is duplicated. This is a known issue that you can check it here #1669. This is already fixed, but only on master, and there is no deadline on when it will be available no stable. This is fine for now but doesn't seem like a good idea to run flutter master in a production-ready app;Usage of background message handler crashes the app. This is also an issue that is open in their GitHub #125 and is a very old one, from Sep 2019. This is a major issue simply because it removes the option to use data messages and handle any message before showing it to the user.What I don't understand is how people are developing and deploying Flutter applications that use FCM notifications with the above issues.My guess is that there is some alternative that I'm not aware of, maybe implementing the notification part directly in Kotlin and Swift and sending it to flutter via some channel, or maybe there is some alternative library that I'm not aware.So, how do you guys work around these problems? And do you have some suggestions for me?Thanks!

April 28, 2020 at 01:03AM by sezaru
https://ift.tt/2yQ2HiC
New post on /r/flutterdev subreddit:

Can I copy the code from android studio (win) and paste it to visual studio(mac)?
Would it directly work the same?I have installed android on pc and vsc on macbook. I'm trying yo build an mvp myself as a nonprogrammer.

April 28, 2020 at 08:25AM by alpello
https://ift.tt/2KH54XK
New post on Flutter Dev Google group:

Binding to C native code with dart:ffi: pass strings to C
Hi, I am trying to do my first plugin using a native c library but I don't know how to pass a string to a native c function. I have seen this dart example that use Utf8 Class
New post on Flutter Dev Google group:

Flutter Commands Not Working
I have downloaded flutter and I have added it to the path. When I try to run some flutter commands such as "flutter doctor" nothing happens. It doesn't show an error or anything else. Can someone please help me?

April 28, 2020 at 08:14AM by Oscar Sargent
https://ift.tt/35bY1jj
New post on /r/flutterdev subreddit:

Insecure about using width height values explicitly. Am I too naive?
Hi Flutter devs,So, I'm new to Flutter basically any UI development for that matter.I find using explicit width height values to get the look I want, a bit insecure because every device is different and has different sizes. Is it not better to use relative values?When would anyone ever decide their UI element should be let's say 400 pixels wide? That would look inconsistent across devicesI'd like to hear from flutter expert devs how you go about developing an UI, what are your basic strategies, and your approach towards sizing elements on the screen.​Thank you

April 28, 2020 at 09:55AM by veneno11
https://ift.tt/2VJbT1B
New post on Flutter Dev Google group:

Flutter Error: RangeError (index): Invalid value: Only valid value is 0: 1
I am filtering a listview depending on options i get this error RangeError (index): Invalid value: Only valid value is 0: 1 filterdata = widget?.categoryId?.map((f) { return GetAnswers?.where((ans) { return ans?.category?.contains(f) ?? ""; })?.toList() ?? [];

April 28, 2020 at 10:26AM by khaliq Dad
https://ift.tt/2KCgTP9
New post on /r/flutterdev subreddit:

what after angela course
i studied angela course and finished it so any ideas for what doing after that ?
joining max course or just watching videos for app from scratch on Youtube ?
thanks.

April 28, 2020 at 12:56PM by egy_me
https://ift.tt/2W9w4op
New post on /r/flutterdev subreddit:

What is the current state of Flutter and piracy?
Important note: Please let's not get into a discussion about privacy itself. There already are many reddit threads talking about this. Let's keep this purely technical and Flutter related.I am currently working on an app (not a game) and I want to sell it on the Apple AppStore as well as the Google Play Store. The app still takes a while to be finished, but I just did some googling on how to best monetize it. As an enduser I really don't like ads or IAP. I want to buy an app, have all the features and just use it. However with piracy rates regularly being 90%+ I feel like I need to explore other options.My research seems to suggest the following:Most piracy anecdotes/numbers are for games. But I suppose other types of apps won't be significantly better.It seems anyone with a rooted Android phone can get a native Android app's source code (dex2jar).Contrary to my expectation the situation on iOS is similar with piracy rates of 90%+ being normal. (sideloading)Right now the most sensible (in terms of income security) seems to be to just publish the app for free and put ads in it. Then offer an IAP to remove ads and add a few more features. However AFAIU even IAPs can be hacked. I however need to do more research on this.So I now have two questions:In regards to Flutter, are there any piracy differences compared to native apps? For example: If Flutter is AOT compiled, tools like dex2jar probably won't work? Is that indeed the case? And even if it is the case, does that make pirating any harder?Can anyone share his/her experience with Flutter in regards to Piracy? I obviously googled "Flutter piracy", but there isn't a single article talking about it.Looking forward to your experiences and technical expertise. And again: Let's please keep it technical and Flutter related.

April 28, 2020 at 01:30PM by booooomba
https://ift.tt/2VJb9t5
New post on Flutter Dev Google group:

Re: controller length property(5) does not match the number of tabs(1) present in tabbars tabs property.....error occured.....how to resolve this problem
Do you want to share the entire error message and file. Line numbers matter. On Tue, Apr 28, 2020 at 7:30 AM Arthee Krishnamoorthy
New post on /r/flutterdev subreddit:

Weekly Questions Thread - April 28, 2020
This thread is for simple questions that don't warrant their own thread (although we suggest checking the sidebar, the wiki, our Discord, or Stack Overflow before posting). Also the Flutter.dev getting started tutorial and the Flutter Cookbook should have the answers to most simple questions.If you're new to Flutter you might also consider taking this free introductory course.Examples of questions:How do I send data to a new screen?Does anyone have a link to the source for the Flutter Gallery app?How do I change the application launcher icon in Flutter?Important: Downvotes are strongly discouraged in this thread. Sorting by new is strongly encouraged.Large code snippets don't read well on reddit and take up a lot of space, so please don't paste them in your comments. Consider linking Gists instead.Have a question about the subreddit or otherwise for /r/FlutterDev mods? We welcome your mod mail!Also, please don't link to Play Store pages or ask for feedback on this thread. Save those for the App Feedback threads we host on Fridays.Looking for all the Questions threads? Want an easy way to locate this week's thread? Click this link!

April 28, 2020 at 02:33PM by AutoModerator
https://ift.tt/2Sf1JDA
New post on /r/flutterdev subreddit:

Any ideas or guides to get a robust video cutter
I have been working for a long time on a small functionality to trim a video, but I have not yet completed this. I have searched for a package, but have not yet seen something robust that does something similar.

April 28, 2020 at 04:07PM by wilfredonoyola
https://ift.tt/2W7DiJf
New post on Flutter Dev Google group:

flutter running stuck
hello guys and welcome i have a problem with my flutter in android studio once i click run it stuck in "Running gradle task assembeleDebug"please help me

April 28, 2020 at 04:25PM by Haitham Aleryani
https://ift.tt/3bMKWzw
New post on /r/flutterdev subreddit:

How to access live video recording stream and pipe it elsewhere?
Hello, I would like to access a live recording video stream and pipe the bytes elsewhere through WebSockets. Is it possible to achieve this using the camera package in Flutter? The closest method I could find is `startImageStream`, but I don't think it includes audio.

April 28, 2020 at 04:12PM by chuabingquan
https://ift.tt/3f0PFQc
New post on Flutter Dev Google group:

Firestore on macOS
Not really a question, but it might be interesting for you to hear that Flutter's "cloud_firestore" plugin for iOS seems to work also on macOS out of the box! I was under the impression that Firebase only supports iOS and Android (and the Web) but when running my app on macOS it emits "tvOS and

April 28, 2020 at 05:07PM by Stefan Matthias Aust
https://ift.tt/2YdCVje