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

D/skia ( 4814): Shader compilation error
I've created a simple Flutter 1.9.1+hotfix.4 application using Android Studio 3.5.1. After adding successfully a new virtual device (Nexus 6) and tried to run my app, I got this error: Launching lib\main.dart on AOSP on IA Emulator in debug mode... Initializing gradle... Resolving dependencies...

May 14, 2020 at 06:53AM by Mehdi
https://ift.tt/2Z3gAFo
New post on Flutter Dev Google group:

Create a Textfiles with a Botton
If I have a bot that adds a textfield to a list, I have a problem because of the variables. How can I make it that I always have another variable with onChanged()? And I can retrieve this variable in the right order? I would be happy about an answer.

May 14, 2020 at 08:57AM by Jonas Riesen
https://ift.tt/3dNI469
New post on Flutter Dev Google group:

How do I find out package version
how do I find out there is an updated version of the package or not besides opening the pub.dev website itself?

May 14, 2020 at 11:49AM by Denis Ramdan
https://ift.tt/3dK9FoA
New post on /r/flutterdev subreddit:

Instagram style location picker for uploaded photos.
I'm trying to implement a feature that allows users to upload photos to Firestore. I also try to get the location of the image using IfIdTag. Is there a way to implement a sort of location picker similar to the one used in Instagram in case the user does not have the location data on the image?
void _checkGPSData() async { log("Checking GPS data..."); Map<String, IfdTag> imgTags = await readExifFromBytes(File(_imageFile.path).readAsBytesSync()); if (imgTags.containsKey('GPS GPSLongitude')) { setState(() { _hasLocation = true; _imgLocation = exifGPSToGeoFirePoint(imgTags); }); } else { log("Image does not contain GPS data.");} } 
I am finding some location pickers online but they are strictly for google maps it seems.

May 14, 2020 at 11:03AM by skux159
https://ift.tt/3bptoZi
New post on Flutter Dev Google group:

Flutter channel stable is now ahead of channel beta?
I just find this curious... Stable: Flutter 1.17.1 using Dart 2.8.2 VS. Beta: Flutter 1.17.0-3.4.pre using Dart 2.8.1 What's that about? Anyone know? Something go wrong in Flutter release world?

May 14, 2020 at 02:16PM by Wayne Werner
https://ift.tt/2T4k8nb
New post on /r/flutterdev subreddit:

Data driven: measure how many times developers use hot reload?
Hey, my company is very data driven and we need presenting some numbers continuously.One of data we want to collect is how many times developers took advantage of hot reload and perhaps the duration of each hot reload operation.How could I prepare project or perhaps Android Studio itself to collect this data? Any ideas?

May 14, 2020 at 01:52PM by chrisrutkowski
https://ift.tt/2AsBnYN
New post on Flutter Dev Google group:

query geopoints from firebase
hi guys . i have now succesfully managed to write geopoints inside my users collection ;) . i need to retrive them inside another map screen and show them as markers . i have tried many solutions but it crashes in the end . can anyone help me? thanks guys [image: Screenshot 2020-05-14 at

May 14, 2020 at 05:22PM by Error Place
https://ift.tt/2T6MJIl
New post on /r/flutterdev subreddit:

What is the best way to use an API in Flutter?
What I'm trying to do:A listview on home screen that lists the fixtures and odds This listview should be updated frequently to show an updated scheduleI'm using a sports API for getting relevant dataWhat I've already done:I wrote a class and methods to get the data from APIMy first method get fixtures from API (fixtureID, date, hometeam, awayteam)My second method get odds from API (same API, different link, fixtureID is common field)After getting two list, if fixtureID is same I combine the all information and fill my Fixture class instance and add all objects to a list to show them in my listview.What is the problem:If I'm getting a limited number of matches, there is no problem. When I'm trying to get a whole week list, I think due to fixtureID matching, it took a lot of time and my app freeze.Possible Solutions:I thought that maybe it is a good solution to feed Firebase with that API data instead of calling it while I am loading my home screen. With Firebase snapshot, I can listen the changes via stream and update my list. But I am not sure this is the best practice or not? If it is a good solution, what is the way of feeding firebase with my API data without crashing my app.Is there any idea?

May 14, 2020 at 05:34PM by cenkna
https://ift.tt/2Au1TRB
New tweet from FlutterDev:

👉Hotfixes to the stable channel.

We'll update the stable channel on a quarterly basis with feature updates. Subscribe to the flutter-announce group list if you publish an application using Flutter.

See hotfix updates &rarr; https://t.co/3IV2TvpYZ5 pic.twitter.com/xxSoutZRi2— Flutter (@FlutterDev) May 14, 2020

May 14, 2020 at 05:29PM
http://twitter.com/FlutterDev/status/1260955447030317056
New post on Flutter Dev Google group:

Flutter send variable to the other class
Hello I have the below class like.dart that need to send some data to home.dart ``` class imageModal extends StatefulWidget { //imageModal({Key key}) : super(key: key); final title; final comments; final links; final urlImages; final userid; final postid; final userlikes; int

May 14, 2020 at 07:09PM by Evripides Kyriacou
https://ift.tt/3dFQ8FK
New post on /r/flutterdev subreddit:

Just released my first flutter package 🤗 it's a simple speed dial. I'm always open for feedback. 💯
https://ift.tt/3dOZSxt

May 14, 2020 at 10:55AM by iwouldntknowthough
https://ift.tt/3dKdvhv
New post on Flutter Dev Google group:

Flutter 1.18.0-11.1.pre released to the beta channel!
Hi all, I’m happy to announce that Flutter 1.18 / Dart 2.9 Beta builds are now available on the beta channel: 1.18.0-11.1.pre
New post on /r/flutterdev subreddit:

device_frame | Mockups for common devices.
https://ift.tt/2T6k85S

May 14, 2020 at 09:06PM by Elixane
https://ift.tt/3bseYri
New post on /r/flutterdev subreddit:

Accessing Java library via JNI from C++ library called over FFI
Hello,we are currently thinking about including a c++ library into our flutter application (over ffi). On Android this c++ library depends on an a java library which it talks to via jni.What do we need to do to get this working on flutter? Does someone has expirience with this setup?Thank you :)

May 14, 2020 at 08:26PM by Langohr2394
https://ift.tt/3czrJBA
New post on Flutter Dev Google group:

how to fix too many variables in flutter
I'm quite new to Programming and I'm trying to create stacks of cards in my Flutter project. Each card contains different data/information and when I try visualize with a dummy data, I have to use a lot of variables which is pretty much repeating variable name for each card. Is there aways to

May 14, 2020 at 09:19PM by aasenomad
https://ift.tt/2Lt5q4P
New post on Flutter Dev Google group:

Error: Unable to locate gradlew script
Please help me, i've been trying for more than 3 days to fix this error and start with flutter. I get the following error during the test of sample flutter app. Unable to locate gradlew script. Please check that C:\Users\...\app1\android\gradlew.bat exists or that C:\Users\...\app1\android can be

May 14, 2020 at 09:47PM by Sunveg Nalwar
https://ift.tt/3dIgaIH