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

can Anyone help me. I am not getting the list of output from the json file.
The JSON Link I use: https://ift.tt/38c0QkZ in this JSON file there is so many lists of items. I am only getting the first item from my code. can anyone help me to get all data from that json file. my Code : - body: Container( child: Center( child: FutureBuilder(

February 09, 2020 at 10:01AM by Gaming Paradox
https://ift.tt/3bn4ACd
New post on /r/flutterdev subreddit:

Unable to get the flutter fragment programmatically as the host project uses androidx libs which are incompatible with v4
Have an issue with the FlutterFragment which extends from android.support.v4.app.Fragment support libs instead of androidx.So I am unable to get the flutter fragment programmatically as the host project uses androidx libs which are incompatible with v4.These are my settings for both host and the flutter modules:- gradle.properties ( host project )android.enableJetifier=trueandroid.useAndroidX=true- settings.gradle ( host project )evaluate(new File(settingsDir.parentFile,'/flutterlib/.android/include_flutter.groovy'))- build.gradle ( app module )implementation project(':flutter')- pubspec.yaml ( flutter project )module:androidX: trueandroidPackage: com.example.project_flutteriosBundleIdentifier: com.example.project_flutter- .android/gradle.propertiesorg.gradle.jvmargs=-Xmx1536Mandroid.enableR8=trueandroid.useAndroidX=trueandroid.enableJetifier=true​- .android/Flutter/build.gradle ( tried to add the androidx.legacy/annotation libs )​dependencies {testImplementation 'junit:junit:4.12'implementation 'androidx.legacy:legacy-support-v13:1.0.0'implementation 'androidx.annotation:annotation:1.0.0'}​I've checked all of the above and still the FlutterFragment continue extending from v4 support libs.Additionally, i've checked the FlutterFragment.java.tmpl from which I believe the framework should generate either v4 or androidx FlutterFragment class and it does contain the correct conditions{{#androidX}}import androidx.annotation.NonNull;import androidx.fragment.app.Fragment;{{/androidX}}{{^androidX}}import android.support.annotation.NonNull;import android.support.v4.app.Fragment;{{/androidX}}​What am I doing wrong?Really appreciate any input on this.​- This is my flutter doctor -v output:[✓] Flutter (Channel stable, v1.12.13+hotfix.7, on Mac OS X 10.15.2 19C57, locale en-IL)• Flutter version 1.12.13+hotfix.7 at /Users/user/Projects/flutter• Framework revision 9f5ff2306b (13 days ago), 2020-01-26 22:38:26 -0800• Engine revision a67792536c• Dart version 2.7.0[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)• Android SDK at /Users/user/Library/Android/sdk• Android NDK location not configured (optional; useful for native profiling support)• Platform android-28, build-tools 28.0.3• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java• Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)• All Android licenses accepted.[✓] Xcode - develop for iOS and macOS (Xcode 11.3.1)• Xcode at /Applications/Xcode.app/Contents/Developer• Xcode 11.3.1, Build version 11C504• CocoaPods version 1.8.4[✓] Android Studio (version 3.6)• Android Studio at /Applications/Android Studio.app/Contents• Flutter plugin version 43.0.2• Dart plugin version 192.7761• Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)[✓] IntelliJ IDEA Ultimate Edition (version 2019.1)• IntelliJ at /Applications/IntelliJ IDEA.app• Flutter plugin version 43.0.2• Dart plugin version 191.6183.88[✓] VS Code (version 1.42.0)• VS Code at /Applications/Visual Studio Code.app/Contents• Flutter extension version 3.8.1[✓] Connected device (1 available)• SM G950F • 988a1b47315139564e • android-arm64 • Android 9 (API 28)• No issues found!

February 09, 2020 at 11:03AM by skywalker_30
https://ift.tt/2UCK2jt
New post on /r/flutterdev subreddit:

Is HAXM installable on an AMD Chipset - Flutter newbie
I have been bummed for a couple of days. I am not able to install any emulators from Android Studio.I'm not able to install HAXM on my AMD CPU. Is there a work around?I'm currently using my phone but I'd like to use the emulator!Any suggestions will be welcomed. Tia.

February 09, 2020 at 11:42AM by iosdevgene
https://ift.tt/38g9Ple
New post on /r/flutterdev subreddit:

FlutterForce — Week 64
https://ift.tt/31CH13Y

February 09, 2020 at 02:30PM by flutterist
https://ift.tt/39m4uJw
New post on Flutter Dev Google group:

Looking for a developer partner
Hi there I've came here to ask this question because I really don't know where to go or what to do. Basically I've got an idea which I believe would be a huge game changer in engineering industries. I've got this idea for about 4 years now so I came long way to learn programming which first

February 09, 2020 at 04:26PM by PeterC
https://ift.tt/2HaG8WR
New post on Flutter Dev Google group:

Show Hide Shipping method based on cart total ( Flutter App Based on Woocommerce REST API )
Hello everyone, I am new to flutter and dart and trying to learn Flutter while building an app based on Woocommerce using Flutter. I am able to fetch the list of Shipping Methods using REST API. But don't how to show hide Shipping Method based on Cart Total. Here is the link to source on

February 09, 2020 at 04:56PM by N K
https://ift.tt/2H8xV5F
New post on /r/flutterdev subreddit:

'Animating' components based on values
Fairly new to Flutter, I was trying to implement a Container changing its margin (via list offset) while the user scrolls a listview. Got it done but that made me realize setState() is a pretty expensive function to execute each frame. I decided to use AnimatedBuilder to get the same functionality but it seems to be geared towards pre-defined animations rather than values changing (like scrolling offset). What would be a way to tackle such a problem?

February 09, 2020 at 05:47PM by avagantamo
https://ift.tt/3bkAVtH
New post on /r/flutterdev subreddit:

How do I run notifications when the app is closed and the phone is off?
Hi all, I’m currently working on a flutter app that involves running a function to update notifications every 10 minutes. I’m struggling how to natively get notifications or any block of code to run in the background on both iOS and Android. If this is not possible how hard is it to port my flutter code to swift for native development.

February 09, 2020 at 07:20PM by BadDeep
https://ift.tt/2SzUsxq
New post on /r/flutterdev subreddit:

Force localeResolutionCallback upon language change
Hello,I'm confronted with an interesting problem. I am using "localeResolutionCallback" to set the locale on load and to detect when the user changes the language on the device. However i also want to be able to bypass it so the user can choose a separate language from the one his device is set to.This seems to be impossible because "localeResolutionCallback" if i read the docs properly only works on load and when a device language was changed.Does anyone know how to force it to trigger this function? I do not want to use the "locale" key of material app (which works) because i would have 2 similar operations that are conflicting and i absolutely need "localeResolutionCallback" for detection so that one wins.​Any ideas? Thanks​PS: i am indeed using a listener to rebuild materialapp but like i said it doesn't trigger "localeResolutionCallback "

February 09, 2020 at 08:07PM by nicolaszein
https://ift.tt/2Sc65fb
New post on /r/flutterdev subreddit:

Flutter is broken on Linux 5.5 and newer kernels
Just a heads up if you use Linux and Flutter appears to be broken (it gets stuck when you build an Android app, can't hot reload, test or debug an already running app) that this is a bug and the only workaround is to downgrade your Linux kernel to 5.4 or older.https://github.com/flutter/flutter/issues/49185Spent the better part of the afternoon trying to figure this one out. Most distributions are not affected yet, but rolling release ones such as Arch Linux already are, or if you run a custom kernel.

February 09, 2020 at 11:03PM by Comevius
https://ift.tt/38emIfO
New post on /r/flutterdev subreddit:

Strange slowdown in Gridview
Hi guys,I have some performance issues after implementing a GridViewBuilder that shows images fetched from firebase:Usual performance during scrollJanky performance during scrollI've observed similar issues when using an AnimationBuilder with more complex animations - SKCanvas Flush seems to be the troublemaker. Anyone got any ideas what might be causing the canvas flushing process to be this long?

February 10, 2020 at 12:13AM by Shacoast
https://ift.tt/31Cvhyy
New post on /r/flutterdev subreddit:

Create an Excel based app in Flutter
Im learning Flutter and want to build an Excel based based app.Here are the features that I want to include:- Table based structure with horizontal scroll.- Create, Edit, Delete data (numbers).- able to move data around any cells within the table- add calendar or dates to table Horizontally- Calculations within the TableBefore I start creating my app. I wanted to get input from fellow developer from beginners to advance on the best way to approach this. Thank you in advance for your help.

February 10, 2020 at 03:07AM by Legalyze
https://ift.tt/2UDHyB7
New post on /r/flutterdev subreddit:

Is there any package/feature that Flutter devs would like to see?
I'm a package developer for Dart/Flutter in my spare time, and have had moderate success in doing so (https://pub.dev/publishers/kishoredev.live/packages).I just wanted to ask around and see if there was a package or feature request for Flutter that I could help bring to fruition. I have the time to invest, so shoot with any packages/APIs you would like to see.

February 10, 2020 at 02:26AM by AKushWarrior
https://ift.tt/3boQFf8
New post on Flutter Dev Google group:

Professional Connectivity App Development
I want to build an app like LinkedIn that connects people and I developed a basic social media app. Can somebody point me to the direction that how can I add functionality to that app and what tools I need to have for the requirements? It is my first app that is going to be this big and I wonder

February 10, 2020 at 07:10AM by kuldeep rawat
https://ift.tt/2UKT0ee
New post on /r/flutterdev subreddit:

Is it possible to use one model class for both retrofit(or dio) and moor
Hello, I have been develop an app that can retrieve data from api and save it locally. I use retrofit for api connection and moor for local database. The problem is, I already have my own class model to connect to my api service, but moor create a new class model when I create a new table and use that new class model for local database connection. How can I implement the same class model that I already made and use in retrofit for moor database?

February 10, 2020 at 09:02AM by rakanduk
https://ift.tt/2w6oL7x
New post on Flutter Dev Google group:

Having trouble with handling native method call in Swift
In the app I'm writing I'm having trouble with handling the arguments: *let* args = call.arguments *as*? Dictionary