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

Simple stream question
I think I'm confused about how to properly clean up streams and behavior subjects. I have broken down my issue to a very simple widget test.​When I run this test:```testWidgets('Test behavior subject', (WidgetTester tester) async {final subject = BehaviorSubject<int>();
final stream = subject.stream;
subject.add(4);
print("getting first item");
final item = await stream.first;
print("got first item: $item");
subject.close();});
```It prints out:```getting first itemgot first item: 4```And then the test fails because it exceeds the timeout. But the same code works fine in a regular test.What am I misunderstanding about widget tests? Are you not allowed to use streams / behavior subjects in widget tests?

April 17, 2019 at 06:16AM by korbonix
http://bit.ly/2Ggjcoo
New post on Flutter Dev Google group:

Plugins Conflict with Camera Permission
As i am using plugins, 1. image_picker: 0.5.3+1 2. simple_permission: 0.1.9 in a single project ,but i am not able to build project because there is some issue with with Camera Permission which causes conflict. I also migrated project to AndroidX but problem still exist. please suggest any

April 17, 2019 at 07:51AM by I A KHAN
http://bit.ly/2V8SwPG
New post on Flutter Dev Google group:

Regarding Flutter Map Plugin
Dear sir, for last 6 months i am facing problem with Google_Maps_Flutter plugin unable to find example code. 1. their is no sample code for line draw between coordinates. 2. unable to apply moving effect like. [image: moving-animtion.gif]

April 17, 2019 at 12:04PM by prince.g...@gmail.com
http://bit.ly/2InjDRj
New post on Flutter Dev Google group:

Can I use my app from google voice?
I need to call on a method in my app (add a payment) and pass some parameters "i paid 50$ on gas" i have the app ready but i cant figure out how to integrate google assistant

April 17, 2019 at 03:05PM by Abbas Moussa
http://bit.ly/2IFQZKr
New post on /r/flutterdev subreddit:

Using google assistant with my flutter app?
I have an app that records the payments i do. I would like to be able to tell google assistant to open the app and record a payment (I have in the app a function that can parse the audio string and call on the function that adds payment if that helps), which would then be uploaded to the database and recorded. Is this possible? Example of what i want: "Ok google, tell My app that i spent x dollars." if so what's the best way?

April 17, 2019 at 02:53PM by Arcanefall_flutter
http://bit.ly/2XjSimA
New post on /r/flutterdev subreddit:

Is a chat app possible in flutter with background service without native code.
Is creating a Chat application like whatsapp is possible using flutter? Which stores the chat data locally. If not what type of chat application is possible using flutter? Does it support background service or push notifications when new notifications arrive?

April 17, 2019 at 06:24PM by darshank5761
http://bit.ly/2V91RXT
New post on Flutter Dev Google group:

Accessing directory download
how to use path_provider to access the directory of the smartphone download?

April 17, 2019 at 08:14PM by Filipe Oliveira
http://bit.ly/2Pdgd42
New post on Flutter Dev Google group:

confusion in Flutter
i am new in Flutter. And I came through this problem. I tried using Card in my Scaffold. But the image is not covering the entire row as you can see in the picture I've attached. Also, the button is not exactly at the centre of the screen. Can anyone help me with this? I shall be highly

April 17, 2019 at 09:06PM by Biplab Dutta
http://bit.ly/2DiqRlx
New post on Flutter Dev Google group:

Why does the build.gradle is outdated?
buildscript { ext.kotlin_version = '*1.2.71*' ================================================== *1.3.30* repositories { google() jcenter() } dependencies { classpath 'com.android.tools.build:gradle:*3.2.1*' =========================== *3.4.0*

April 17, 2019 at 10:17PM by Bened
http://bit.ly/2Us67ND
New post on /r/flutterdev subreddit:

A Flutter plugin for detecting the trust fall of the device
Check out new Flutter package for Jailbroken, root, emulator and mock location detection as one of the requirements of OWASP - The Mobile Security Testing Guide (MSTG).https://pub.dartlang.org/packages/trust_fall

April 17, 2019 at 10:05PM by anish_adm
http://bit.ly/2VRhqAH
New post on Flutter Dev Google group:

what/who are those 16 contacts in the .gradle caches user-id.text ?
user-id.text: ᨀ畺电慱穲橣㍨桴朶㉫穩硰硱楲 NUL SUB zu5uqarzcjh3th6gk2izpxqxri

April 17, 2019 at 10:42PM by Bened
http://bit.ly/2ZhBL4i