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

Flutter build release APK get NoSuchMethodException error
When I upgraded to 1.17, I encountered the following problems. 1.12.13 also has this problem. https://ift.tt/2yH4h6V

May 10, 2020 at 03:03AM by Silong Liu
https://ift.tt/3bcQ2E8
New post on /r/flutterdev subreddit:

Proplem while running the flutter app
Launching lib\main.dart on Android SDK built for x86 in debug mode... Running Gradle task 'assembleDebug'... Invalid depfile: C:\Users\Mahmoud\Desktop\AndroidProjects\flutter\ppshop\printpadshop.darttool\flutter_build\93ea68bbf251f1dd0c39288859c5e20a\kernel_snapshot.d Invalid depfile: C:\Users\Mahmoud\Desktop\AndroidProjects\flutter\ppshop\printpadshop.dart_tool\flutter_build\93ea68bbf251f1dd0c39288859c5e20a\kernel_snapshot.d Compiler message: lib/pages/login.dart:9:8: Error: Not found: 'dart:html' import 'dart:html'; ^ ../../../../../Pictures/flutter/packages/flutter/lib/src/painting/_network_image_web.dart:64:12: Error: Method not found: 'webOnlyInstantiateImageCodecFromUrl'. return ui.webOnlyInstantiateImageCodecFromUrl(resolved); // ignore: undefined_function Unhandled exception: FileSystemException(uri=org-dartlang-untranslatable-uri:dart%3Ahtml; message=StandardFileSystem only supports file:* and data:* URIs) #0 StandardFileSystem.entityForUri (package:front_end/src/api_prototype/standard_file_system.dart:3 3:7) #1 asFileUri (package:vm/kernel_front_end.dart:604:37) #2 writeDepfile (package:vm/kernel_front_end.dart:799:21) <asynchronous suspension> #3 FrontendCompiler.compile (package:frontend_s erver/frontend_server.dart:472:15) <asynchronous suspension> #4 _FlutterFrontendCompiler.compile (package:flutter_frontend_server/server.dart:38:22) #5 starter (package:flutter_fronten d server/server.dart:149:27) #6 main (file:///C:/b/s/w/ir/cache/builder/src/flutter/flutter_frontend_server/bin/starter.dart:8:30) #7 _startIsolate.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:305:32) #8 _RawReceivePortImpl._h andleM essage (dart:isolate-patch/isolate_patch.dart:174:12) Target kernel_snapshot failed: Exception: Errors during snapshot creation: null build failed. FAILURE: Build failed with an exception. * Where: Script 'C:\Users\Mahmoud\Pictures\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 780 * What went wrong: Execution failed for task ':app:compileFlutterBuildDebug'. > Process 'command 'C:\Users\Mahmoud\Pictures\flutter\bin\flutter.bat'' finished with non-zero exit value 1 * 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 14s Finished with error: Gradle task assembleDebug failed with exit code 1

May 10, 2020 at 03:31AM by Mahmoud24112003
https://ift.tt/3dx9ehg
New post on /r/flutterdev subreddit:

Tips 29-35 just got published on 100 days of Flutter Tips
​I have published 7 new tips (29-35) on ❤️Awesome Flutter ❤️ tips and tricks ❤️https://github.com/erluxman/awesomefluttertipsCheck them out.I would appreciate any contribution or feedback. 🙏🏻Thanks to u/Kounex for this contribution on Tip no #31.For daily new tips follow this thread :https://twitter.com/erluxman/status/1246608678486065152

May 10, 2020 at 05:49AM by erluxman
https://ift.tt/2LhgaTS
New post on /r/flutterdev subreddit:

Database Suggestions
hi im new to flutter and im trying to find the perfect database for my app.. that has the ability to go offline and when going online it updates the offline database...any suggestions?..thanks in advance 😁

May 10, 2020 at 11:02AM by Alienisus
https://ift.tt/2LjozWA
New post on /r/flutterdev subreddit:

Proper state management across routes
Using a TODOs app as an example, imagine you have a simple app with a list of TODOs displayed on the main screen, as well as second settings screen. In the settings screen, say you have a setting to that changes whether the text of each TODO is displayed in uppercase or lowercase.I can imagine a couple different methods that to achieve this:When pushing the settings screen, you could await the Navigator for a result. The settings screen must pop the Navigator with a result and the main screen interprets it and updates its state accordingly.Pass a callback to the settings screen which the settings screen calls when it updates the setting. The main screen rebuilds itself when the callback is called.(Similar to #2) Using the controller approach. For example, have a ValueNotifier<bool> in the main screen that contains the true/false value of whether or not to capitalize the text. The main screen uses ValueListenableBuilder as a parent to the ListView so it is rebuilt when the value changes. Then pass the notifier to the settings screen and when the settings screen updates the notifier, the list will rebuild.Use RouteAware on the main screen. When the navigation returns back to the main screen (onPopNextRoute), check if the setting is now different and rebuild if so.My problem is that none of these solutions seem good to me or I don't know which is best. Or maybe I'm missing something else.Solution #1 seems like the proper approach in that it waits for the settings screen to be finished and then you can determine whether to rebuild. But this seems like it would not be good with more complex routing. Like if the settings screen could navigate to other screens which might return back to the main screen. Ensuring the proper result is returned to the main screen sounds like it could get very tedious.Solutions #2 and #3 have the problem where updating the value on the settings screen will cause the main screen to be notified and rebuilt even when it is not being displayed to the user. Sure Flutter might be efficient but this just feels wrong. Or am I wrong to worry about this? I worry more for a larger app with many screens. Imagine updating a setting that rebuilds many different widgets on previous screens. Also, passing the callback/notifier around could get tedious with additional routes as well.Solution #4 seems okay, but it means caching each setting's previous value and comparing for differences, even if they have not even been touched in the settings screen. This approach is not one I've seen anyone else really use so I'm not too confident about using it even though this is what I'm currently using in my real app.

May 10, 2020 at 11:28AM by dumbnormie
https://ift.tt/2YN05NC
New post on /r/flutterdev subreddit:

Which course should I do next?
Hi Flutter devs,I've made a few flutter apps by now, but i feel that some structure is missing in them (and still have a few problems scaling sometimes) and I would like to do a course that would teach best practices. From what I have seen, people suggest the following:https://www.udemy.com/course/flutter-bootcamp-with-dart/https://www.udemy.com/course/flutter-firebase-build-a-complete-app-for-ios-android/https://www.udemy.com/course/learn-flutter-dart-to-build-ios-android-apps/If you have done any of all of this, which do you believe to be the one that makes you more "industry ready" ?Thanks for the help!

May 10, 2020 at 11:23AM by jd_portugal
https://ift.tt/3fwF67P
New post on /r/flutterdev subreddit:

Flutter UI - Animate emotions | Make emotions programmable using Rive / Flare !
Hey!I have uploaded my speedcode for the following UI usinf Rive/ Flare and a full tutorial series about is coming up!So subscribe for more such videos and tutorials!The code will be in the description of the video ! 📷:)Cheers!video link:https://www.youtube.com/watch?v=gr4C5_0edjc&feature=youtu.be

May 10, 2020 at 01:28PM by abhishekmah98
https://ift.tt/2WM732C
New post on /r/flutterdev subreddit:

FlutterForce — Week 76
https://ift.tt/2SM0QCP

May 10, 2020 at 02:00PM by flutterist
https://ift.tt/2xPm6Al
New post on Flutter Dev Google group:

Google Bucket Problem
Why we can't use google bucket from Bangladesh. We do everything but it wont work. What should we do to solve this problem?. :(

May 10, 2020 at 01:57PM by Shadman Sakib
https://ift.tt/3fCDF7x
New post on /r/flutterdev subreddit:

Open-Bonfire source code
As for the last weeks, I was updating a project I worked on to learn advanced Flutter.This app is quite simple, you create a post at a geographic location and your post is only available at this location. There are daily quests that give experience at completion or penalties at failure.The big challenge during those last weeks was to be able to run background tasks with BLoC state management. It works but I am aware that big improvement can be made performance-wise.The entire source code for Bonfire is available here. If you want to see the app in action check out the Google Play page.Disclaimer: The project is quite big, it may not be suited for complete beginners. Disclaimer 2: The code can be very messy at times (I was bored or something).

May 10, 2020 at 02:05PM by SSebigo
https://ift.tt/3fziT95
New post on /r/flutterdev subreddit:

Hyperlink Flutter Wordpress hyperlinks
Hi everybody!I'm building an app that gets data from a wordpress website. I set up the API and everything is working except hyperlinks that are embedded in the wordpress post.Right now I'm using this code to convert the html text to normal text: (wppost['content']['rendered']
                              ).toString()).documentElement.text),
                               style: TextStyle(
                                  fontWeight: FontWeight.normal, fontSize: 18),Is there a way to show the text with working hyperlinks?Thanks!

May 10, 2020 at 02:04PM by Benjaminvdm
https://ift.tt/3bh2rXz
New post on Flutter Dev Google group:

Show Slider.adaptive widget in Timestamp format
Hi, I want to implement a countdown timer. And i want to set the timer in the slider widget. But the slider widget wants a double. How can i show this in timestamp format? The time should go from 10 minutes to 12 hours and when i move the slider i want to see the hour and minute. I hope you can

May 10, 2020 at 02:24PM by Tolga Yildirim
https://ift.tt/3clTQnZ
New post on Flutter Dev Google group:

Publishing flutter web build to static hosting with new version will result in remnants of previous version still being shown in browser.
Publishing a flutter web build to static hosting with a new version will result in remnants of previous version still being shown in browser. Any idea why this occurs? And how do I prevent it from happening with new builds?

May 10, 2020 at 03:02PM by Daniel Legut
https://ift.tt/2LeWboH
New post on Flutter Dev Google group:

Plugins not working
Plugin Google Sign in and Facebook Login are not working on flutter 1.17 update Plugins not found

May 10, 2020 at 03:27PM by Waleed Abdel-Aziz
https://ift.tt/2yI7ZgB
New post on Flutter Dev Google group:

Im Slider.adaptive Widget einen Countdown-Timer einstellen
Hi Leute Ich möchte einen Slider.adaptive Widget implementieren. Ich möchte die Zeit ab 10 Minuten bis zu 12 Stunden einstellen können. Wenn ich das einstelle möchte ich nur die Stunden und Minuten einstellen können. Die Sekunden sollen dann wenn es eingestellt wurde auch angezeigt werden. Das

May 10, 2020 at 04:00PM by Tolga Yildirim
https://ift.tt/3cl7wj3