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

Access context of stateless widget
If I have a method in a stateless widget that is called by my build function, what is the best way to pass the build context to it? I have been passing it as a parameter, but sometimes the method that needs the context is three function calls away from the build method, so I have to modify all three methods to take in the context as a parameter and pass it down until it reaches the method that uses it. This seems inefficient, is there any other way to do it? Thanks.

October 19, 2019 at 05:04AM by tatarusanu1
https://ift.tt/2MTRvoF
New post on /r/flutterdev subreddit:

Load dependencies saperately on web and Mobile
I want to start a project with a single code base for web and Mobile.This will mean many plugins will not be supported on both sides like Firebase, image_picker, url_launcher.I have seen tutorials on how to get Firebase working on Flutter web, but none address how to make the same project run on Mobile as well.​Also, is there any way to selectively load the dependencies in pubspec.yaml (and import them) for web and Mobile separately, so the project compiles successfully for both the platforms?

October 19, 2019 at 01:36PM by praharshnbhatt
https://ift.tt/33Llmqk
New post on /r/flutterdev subreddit:

#17 GestureDetector Flutter Widget
https://youtu.be/AQ35MghE_ss

October 19, 2019 at 01:10PM by systechdevelopers
https://ift.tt/2IZkWEL
New post on /r/flutterdev subreddit:

Is Firebase_admob working for anybody? Flutter Dependency issues experience
Is the firebase_admob plugin on version 0.8 working for anybody? I doesn't in my case and it seems it doesn't for a lot of people neither.The last working version is 0.5.5 for me, every later version just crashes after app start. I'm just wondering how this problem can exist since so many versions.The problem is, with version 0.5.5 I can't build my .apk, I get this error:* What went wrong:Execution failed for task ':firebase_admob:verifyReleaseResources'.> java.util.concurrent.ExecutionException: com.android.builder.internal.aapt.v2.Aapt2Exception: Android resource linking failedOutput: /Users/jonas/Projects/ProjectFit/mobile/project_fit_flutter/build/firebase_admob/intermediates/res/merged/release/values/values.xml:208: error: resource android:attr/fontVariationSettings not found./Users/jonas/Projects/ProjectFit/mobile/project_fit_flutter/build/firebase_admob/intermediates/res/merged/release/values/values.xml:209: error: resource android:attr/ttcIndex not found.error: failed linking references.​Generally my experience with flutter is, that I just have a lot of dependency issues, especially with AndroidX. Is this the case just for my or do you guys feel the same way?

October 19, 2019 at 05:39PM by jwknows
https://ift.tt/32uzPXr
New post on /r/flutterdev subreddit:

Building a global cross platform app with Flutter
https://www.youtube.com/watch?v=InYfMPVQ4Wo

October 19, 2019 at 09:18PM by SoundDr
https://ift.tt/2VWXdKx
New post on /r/flutterdev subreddit:

Proposed "HotUI" Demos
https://ift.tt/31ulE35

October 19, 2019 at 09:48PM by Elixane
https://ift.tt/2oY83np
New post on /r/flutterdev subreddit:

Mac Requirements
what is it Apple Macbook specifications for Flutter with out Lag or crashed?

October 19, 2019 at 11:40PM by Simolution
https://ift.tt/2P32EGA
New post on /r/flutterdev subreddit:

flutter_translate | The internationalization (i18n) library for Flutter.
https://ift.tt/35P0fF8

October 20, 2019 at 01:21AM by leadcode_io
https://ift.tt/2VVsPQM
New post on /r/flutterdev subreddit:

VS Code emulator doesn't work but Android studio does...
I'm new to flutter development so I'm not really sure how to proceed with this issue. When I use Android Studio as my ide, the app loads fine on the emulator. When I use VS Code, the app installs and opens but it's only a white page that is failing to load. I'm not sure what is going on. The only thing I could find about it was to add a line "NO_PROXY" somewhere but I don't know where or if that will even help. I have updated version of dart/flutter and VS Code. Anyone experience this or know how to fix it?

October 20, 2019 at 04:28AM by rdh24
https://ift.tt/35Pnzml
New post on /r/flutterdev subreddit:

Flutter App keeps stopping on Google Play Store?
Hello, new FlutterDev here. I recently created an app for the Google Play store using the Flutter SDK. Unfortunately, the app keeps stopping whenever I try to open it. The app works fine on an emulator and when I run it on my phone, but not when I download it and run it on the Play Store. I want to see of anyone else has encountered Similar problems to this and how they fixed it. My countless hours on Stackoverflow have not helped at all.BTW, my app is called "DayBreak - Morning Routines". Note I'm not trying to promote my app, just giving more info out to people to may want to look into this.Also, this may be a violation of the first rule, but I want to see if this is a recurring issue with Flutter or if it's a common beginner mistake.

October 20, 2019 at 03:47AM by Photon_87
https://ift.tt/2nX5KR4
New post on /r/flutterdev subreddit:

Flutter_map vs google_maps_flutter
What's the difference between flutter_map and google_maps_flutter ? Which one should i use for my app ?

October 20, 2019 at 06:32AM by emahmoud1
https://ift.tt/2OYA7Sq