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

The Ultimate Guide to Flutter Integration Testing
Hey, Flutter devs!
I wrote a medium story that may help you to write robust integration testing code, here's the link if anyone is interested.
https://vini2001.medium.com/the-ultimate-guide-to-flutter-integration-testing-8aabb7749476Thank you very much, I'd appreciate any comments/suggestions/critics!

May 15, 2021 at 09:08PM by vini2001
https://ift.tt/3btBpzi
New post on /r/flutterdev subreddit:

Android release build fails to render widget
I have built a Flutter application using MobX as my state management and am running into a strange issue at the moment that is only present on Android running in release mode.​I'm not sure if the offender is MobX, Hive or just Flutter in Android itself. However, on this specific page in my app, the Obsever will only display the last entry in the list. The other items are present, but the UI will only show the last index of the list. When I turn my phone landscape, the full content of the list is then visible and the page displays exactly as intended. Is there a way I can force the widgets to re-render in MobX when the page has already loaded?​I have tried downgrading my target SDK to 28, downgrading the gradle version, setting shrinkResources & minifyEnabled to false, enabled proguard. I also have ensured to call this in my main.dart;WidgetsFlutterBinding.ensureInitialized();​Again, this issue is only present on Android release build of my app. It works perfectly on iOS & Android on debug.The problem widget can be found herehere​Any help would be greatly appreciated.This is a screenshot of my flutter doctor outputhttps://i.stack.imgur.com/cgu0A.png

May 16, 2021 at 02:00AM by _Kaizer
https://ift.tt/3omtvNu
New post on /r/flutterdev subreddit:

Since when did "clean architecture" become to mean "overdone convolution"?
I won't mention names here, but in my learning process of Flutter, I've encountered a lot of tutorials online advocating some implementation of "clean architecture". What I don't understand is why these implementations have overdone code separation (e.g. one subfolder for literally each box in the architecture diagram), overuse of complex patterns that were originally meant to be problem-specific, and in general going through more hoops than necessary/practical (so that the code looks "smarter"?)C'mon, there exists such term as "over-engineering", and apparently it is realized in abundance. Flutter API itself tries to be straightforward, but these implementations around it are counterproductive to that simplicity. Makes me wonder, is the majority of Flutter apps out there implemented like this?

May 16, 2021 at 02:06AM by Special_Minute_7213
https://ift.tt/3yds4VP
New post on /r/flutterdev subreddit:

Flutter Web iFrame
What is everyone using to implement iFrames into Flutter Web? I have been using the easy_web_view plugin but it hasn't been working properly since the last Flutter Update. What are some alternatives that you are using?

May 16, 2021 at 04:26AM by Obvious-Magazine-103
https://ift.tt/3wa9UT6
New post on /r/flutterdev subreddit:

Flutterflow early access
How long did you guys have to wait for your early access invite? I've applied in February and still waiting

May 16, 2021 at 07:10AM by ihsaaan
https://ift.tt/3okSXTf
New post on /r/flutterdev subreddit:

Being specialized in flutter and Javascript environment after an Ms degree in CS is enough ?
Hi guys, I have an MS degree in computer sciences (graduation this year), I don't like the way academic/scientific side of computer sciences, so working in a lab or pursuing a PhD doesn't attract me. I like creating stuff and not the research way of work. I want to be a Flutter engineer and be specialized in Javascript and full stack web development with js. But I got that feeling that I'm missing something, that anyone who did a 6 months bootcamp can create apps specifically with JS. What do you think guys about this, being specialized in just these two categories (up) make me a person who won't make enough of his MS degree ? Or it's a fair, understandable choice for a career in my case ?

May 16, 2021 at 11:47AM by moamine23
https://ift.tt/3htTX6d
New post on /r/flutterdev subreddit:

FlutterForce — Week 121
https://ift.tt/3eNrerc

May 16, 2021 at 11:20AM by flutterist
https://ift.tt/2SXPpLn
New post on /r/flutterdev subreddit:

Widget render failure
I have built a Flutter application using MobX as my state management and am running into a strange issue at the moment that is only present on Android running in release mode. However, on this specific page in my app, the Obsever will only display the last entry in the list. The other items are present, but the UI will only show the last index of the list. When I turn my phone landscape, the full content of the list is then visible and the page displays exactly as intended. Is there a way I can force the widgets to re-render in MobX when the page has already loaded?Attached are the outputs of my flutter doctor.Again, this issue is only present on Android release build of my app. It works perfectly on iOS & Android on debug.Any help would be greatly appreciated.![enter image description here]1Here is the failing widget in release

May 16, 2021 at 02:48PM by _Kaizer
https://ift.tt/3y982vT
New post on /r/flutterdev subreddit:

Do you need Flutter Learning community or want to get closer to a more active Flutter Dev?
Flutter Hall is back again with a new way of moderating the Flutter community. This time we are not only teaching Flutter devs but connecting them together. Form your team, learn and have fun. Just join our discord channel https://discord.gg/FCU8RCVm

May 16, 2021 at 05:09PM by Fancy_Let4203
https://ift.tt/33NIwhI
New post on /r/flutterdev subreddit:

Execution failed. Kotlin could not find the required JDK tools in the Java installation. Make sure Gradle is running on a JDK, not JRE.
Tagging along to this tutorialhttps://www.youtube.com/watch?v=1gDhl4leEzAI am running into issues with the build when I cd into todolist at 17:00I then run flutter run and I receive this error.FAILURE: Build failed with an exception.​* What went wrong:Execution failed for task ':app:compileDebugKotlin'.> Kotlin could not find the required JDK tools in the Java installation 'C:\Program Files (x86)\Java\jre1.8.0_291' used by Gradle. Make sure Gradle is running on a JDK, not JRE.​* Try:Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.​* Get more help at https://help.gradle.org​BUILD FAILED in 4sRunning Gradle task 'assembleDebug'...Running Gradle task 'assembleDebug'... Done 5.5sException: Gradle task assembleDebug failed with exit code 1​Ive searched Github and SO and found a few answers that did not work for me. Here is my gradle.propertiesorg.gradle.jvmargs=-Xmx1536M
android.useAndroidX=true
android.enableJetifier=true
org.gradle.java.home=C:\\Program Files\\Java\\jdk1.8.0_91​Still no luck on the run, can anyone help me out?Thanks in advance

May 16, 2021 at 07:57PM by Harvard_Alumni
https://ift.tt/2QsKH7q