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

Issues on new Flutter Project
What are these errors and warnings in New Flutter Project .Please Help....

March 20, 2020 at 04:10PM by rakesh lorentz
https://ift.tt/3dbn9dL
New post on Flutter Dev Google group:

Errors and warnings in Flutter
Please some one help me to get rid of this errors and warnings . Steps already taken by me to remove these issues: 1) Flutter SDK reinstalled 2) Created New Flutter Project 3) flutter pub get 4) flutter clean 5) Dart extension reinstalled 6) Set Path for flutter ZSH for Catalina OS.

March 20, 2020 at 04:42PM by rakesh lorentz
https://ift.tt/3ajkw7y
New post on /r/flutterdev subreddit:

VelocityX - A minimalistic flutter framework released.
https://ift.tt/2IZPkhV

March 20, 2020 at 05:36PM by imthepk
https://ift.tt/3ddJibr
New tweet from FlutterDev:

A #GoogleIO update: Out of concern for the health and safety of our developers, employees, and local communities — and in line with “shelter in place” requirements by the local Bay Area government — we sadly will not be holding an I/O event in any capacity this year. (1/3)— Google Developers (@googledevs) March 20, 2020

March 20, 2020 at 08:06PM
http://twitter.com/FlutterDev/status/1241078729087975425
New post on /r/flutterdev subreddit:

Flutter SVG Animation
Hi,I have a project that i’m working on that requires Indoor Navigation. I was given SVG floor maps and I am required to draw a path based from a room to another as well as highlight washrooms and emergency exits when asked.I have to use flutter.I really need some help or insights on how i can solve this!Anyone with any ideas?Thank you so much!

March 20, 2020 at 08:27PM by justAskinz
https://ift.tt/2WrSdjs
New post on /r/flutterdev subreddit:

Why did Flutter choose Dart?
Why did Flutter go with Dart instead of TypeScript or JavaScript for example?I enjoy flutter but do you see flutter being supported long term and not being abandoned by Google like some other projects they had back in the days?

March 20, 2020 at 09:37PM by maxahd
https://ift.tt/2U7awc3
New post on /r/flutterdev subreddit:

Is anyone REALLY using Provider in a non-trivial app with async dependencies?
(There are older threads with similar titles, like this one with no conclusive or interesting answers.)I am trying to use scoped DI in a fairly complex app, so I chose Provider.The app requires a variety of "global" services in order to run, so the registration pattern goes along these lines:```dart runApp(MultiProvider( providers: [ //... ], child: MyApp(), ));class MyApp extends StatelessWidget { @override Widget build(BuildContext context) { if (context.watch<DataLoading>().value) { return const CircularProgressIndicator(); } return MaterialApp( //... ```Pretty much like u/bizz84 does here.Most of my services require async initialization (some of them open Hive boxes), for which FutureProvider is needed. But they also depend on other asynchronous services, which require the use of ProxyProvider and the update callback.FutureProxyProvider does not exist and Remi wasn't able to come up with an API for this usecase.So something as simple as:dart int a = await Future.value(42); num b = await Future.value(a + 0.2); String c = b.toString();turns out to be hair-pulling in the Provider world.dart MultiProvider( providers: [ FutureProvider<int>(create: (_) => Future.value(42)), FutureProvider<num>(create: (context) => Future.value(context.watch<int>() + 0.2)), ProxyProvider<num, String>(update: (_, b, __) => b.toString()), ](The updated value of num never reaches the String provider.)Sure, I could use await like the following:```dart runApp(CircularProgressIndicator());// do ALL async work here await getApplicationDocumentsDirectory(); await service1(); await service2(); await service3();runApp(MultiProvider(syncSetup(...), child: MyApp())); ```but this would not be the Flutter way, as Remi put it: "Providers will require you to always be ready to draw.". This means that your data loading widget, or CircularProgressIndicator() should be in the build method of your app widget.u/remirousselet is a blessing with all his fantastic open source work, but practical and real-world examples of Provider is something I've yet to see. "Anyone using Provider in production?" doesn't add much at all.Is anyone using it in this fashion and can share their async setup? Any good alternative or perhaps some resource I have missed?

March 20, 2020 at 09:48PM by frank06_
https://ift.tt/3a9DKwD
New post on /r/flutterdev subreddit:

In_App_Purchase - Is it possible to check purchase from Play Store on iOS device and vice versa?
I'm a hobbyist developer, using Flutter for about a year now, Android for a couple years before that. I have couple apps on both stores, but I don't want my users to have to rebuy the app if they switch platforms. I've been unable to find anything about this issue. I save their purchase token to Firestore under their user when they make the purchase. Anyone know a way to do this?

March 20, 2020 at 11:28PM by bhultquist84
https://ift.tt/2wsvo4p
New post on /r/flutterdev subreddit:

enviro_sensors - a package for using native enviroment sensors !
Hey guys, so a couple of weeks ago I wanted to make an altimeter with flutter (an altimeter is a device that estimates elevation changes based on changes in air pressure) and couldn't find a plugin that enables the usage of the device's pressure sensor.I asked r/FlutterDev why isn't there such a plugin yet and was encouraged by some of you guys to write one of my own, and so I did :) in the current version you can access all of Android Enviroment Sensors , iOS will follow in the future (unless one of you guys wants to add an implementation on your own, the code is on this github repository).here's a link to the package:https://pub.dev/packages/enviro_sensorsthe altimeter I built is also on github and on Google Play, although it is much less interesting.​if you have any comments / suggestions / questions, I'll be happy to read them in the comments.I will emphasize that I am by no means a native developper nor am I proficient in java, so be wary of that if and when you review the code :>

March 21, 2020 at 12:35AM by BarbDart
https://ift.tt/2WwIuII
New post on /r/flutterdev subreddit:

Real-time Object Detection App with Flutter and YOLO v3
Hello everyone 👋I have made a real-time object detection App based on Paddle-Lite framework. Paddle-Lite is a cross platform DL inference engine made by Baidu. It allows you run your model on your phone, Raspberry Pi and other devices with high performance. The demo is to detect if a person wearing a mask. Hope it can help you somehow.Thanks you all.Here's the GitHub link: https://github.com/KernelErr/realtime-object-detector

March 21, 2020 at 09:46AM by KernelErr
https://ift.tt/2QzXZMh
New post on /r/flutterdev subreddit:

Flutter Doctor
I want to install flutter in windows but i get this error in android licenses:[&radic;] Flutter (Channel stable, v1.12.13+hotfix.8, on Microsoft Windows [version 10.0.16299.214], locale fr-DZ)[!] Android toolchain - develop for Android devices (Android SDK version 29.0.3)X Android license status unknown.Try re-installing or updating your Android SDK Manager.See https://developer.android.com/studio/#downloads or visit https://flutter.dev/setup/#android-setup for detailedinstructions.[&radic;] Android Studio (version 3.6)[!] IntelliJ IDEA Community Edition (version 2018.3)X Flutter plugin not installed; this adds Flutter specific functionality.[&radic;] VS Code (version 1.43.1)[!] Connected device! No devices available! Doctor found issues in 3 categories.If I use this command: flutter doctor --android-licenses I get:C:\Users\HMIMI-PC>flutter doctor --android-licensesA newer version of the Android SDK is required. To update, run:C:\Users\HMIMI-PC\AppData\Local\Android\sdk\tools\bin\sdkmanager --updateif i run itC:\Users\HMIMI-PC>C:\Users\HMIMI-PC\AppData\Local\Android\sdk\tools\bin\sdkmanager --updateException in thread "main" java.lang.NoClassDefFoundError: javax/xml/bind/annotation/XmlSchemaat com.android.repository.api.SchemaModule$SchemaModuleVersion.<init>(SchemaModule.java:156)at com.android.repository.api.SchemaModule.<init>(SchemaModule.java:75)at com.android.sdklib.repository.AndroidSdkHandler.<clinit>(AndroidSdkHandler.java:81)at com.android.sdklib.tool.sdkmanager.SdkManagerCli.main(SdkManagerCli.java:73)at com.android.sdklib.tool.sdkmanager.SdkManagerCli.main(SdkManagerCli.java:48)Caused by: java.lang.ClassNotFoundException: javax.xml.bind.annotation.XmlSchemaat java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:602)at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)i tried everything and i couldn't solve itCan anyone help me?

March 21, 2020 at 02:04PM by hmimi00
https://ift.tt/3966yEH
New post on /r/flutterdev subreddit:

This plugin helps you share images to social media via your flutter app
This Flutter plugin social_share is what you need to create a great UX with sharing options like sharing on Instagram & Facebook stories, twitter, copy to clipboard, WhatsApp and native options to share. Available for Android/iOS.

March 21, 2020 at 03:42PM by B1NARYisHere
https://ift.tt/2UtfWgi