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

Is it bad to have all providers linked to main.dart?
If I have multiple providers I want to use in my app is it bad practice if I used MultiProvider with couple providers on my MaterialApp in main.dart?will this affect performance?

April 16, 2020 at 06:30PM by PlusMaintenance
https://ift.tt/2XCgwfb
New post on /r/flutterdev subreddit:

Flutter vs React Native for Social Network app
Hey everyone,I'm looking to build a social network app (geolocation is the main part). I have limited programming experience so the Javascript vs dart argument doesn't quite apply to me.Which would y'all recommend and why? Thx!

April 16, 2020 at 08:09PM by DarthAnnihilus
https://ift.tt/2Kd3HjA
New post on /r/flutterdev subreddit:

How to improve pub.dev and api documentation ?
There are large numbers of packages on pub.dev with good documentation of the code and such but I find that the most crucial thing, is an unbelievable lack of quality examples and discussion around the packages.Trying to understand how to use a package really should not be on par with digging into estoric texts to discover the secrets of the universe. I understand that the package creators whether google or community may not have extended time to document examples of everything but how about the site is opened to the public a la PHP or wordpress documentation?I'm talking about adding some kind of comment / forum feature that can be used for this.Pick a random function in php and you can find examples, gotchas and so much more to help you understand and use it faster... what do you guys think?

April 16, 2020 at 08:24PM by WorldlyMoose8
https://ift.tt/3ahY4ei
New post on /r/flutterdev subreddit:

Bring back Fluttery on how to build complex UI, Animation
Hey guys, If you're a newbie, this Fluttery will help you on how to build complex UI, Animation properly. There are even some pretty advanced concepts like Springy Slider that I need to refresh my knowledge usually. Take a look, and comment if it helps you out. Mathew Caroll is truly a brilliant teacher, I miss him on his tuts.

April 16, 2020 at 09:58PM by JoeJoe_Nguyen
https://ift.tt/3bgy7NI
New tweet from FlutterDev:

We have 30k new Flutter students!

Use #FlutterStudent to show us how far you've come for a chance to be featured.

Build over 8 fully-fledged apps.
Comprehensive course materials.
No prior coding experience needed.

Take the free intro course → https://t.co/vwRkQWkR91 pic.twitter.com/RIB5W8UVfQ— Flutter (@FlutterDev) April 16, 2020

April 17, 2020 at 12:32AM
http://twitter.com/FlutterDev/status/1250915021783101440
New post on /r/flutterdev subreddit:

navigation from flutter screen to iOS screen
i need to navigate from flutter screen to iOS screen and after navigate back to flutter screen from iOS screen. i able to navigate from flutter screen to iOS screen but i can't able to navigate back to flutter screen.this is my navigation code in AppDelegate.swiftlet mainStoryboardIpad : UIStoryboard = UIStoryboard(name: "Main", bundle: nil)let initialViewControlleripad : UIViewController =mainStoryboardIpad.instantiateViewController(withIdentifier: "FlirViewController") as UIViewController self.window = UIWindow(frame: UIScreen.main.bounds)self.window?.rootViewController = initialViewControlleripad self.window?.makeKeyAndVisible()this is my ios screen(objective c) .m file : this is back button code[self.navigationController dismissViewControllerAnimated:true completion:nil];

April 17, 2020 at 02:14AM by janardhanmupparaju
https://ift.tt/3agCgjt
New post on /r/flutterdev subreddit:

flutter web app getting Bad state: Future already completed
I am trying to develop web application with geolocation and webcam using flutter but getting this error. any one can you please help meThe following StateError was thrown during a platform message response callback:Bad state: Future already completedWhen the exception was thrown, this was the stack:dart-sdk/lib/internal/js_dev_runtime/private/ddc_runtime/errors.dart 195:49 throwdart-sdk/lib/async/future_impl.dart 42:79 completepackages/flutter/src/services/binding.dart 176:18dart-sdk/lib/async/zone.dart 1374:10 runUnaryGuardedlib/_engine/engine/window.dart 331:23lib/_engine/engine/window.dart 488:17dart-sdk/lib/async/zone.dart 1439:54 runUnarydart-sdk/lib/async/future_impl.dart 141:18 handleValuedart-sdk/lib/async/future_impl.dart 682:44 handleValueCallbackdart-sdk/lib/async/future_impl.dart 711:32
_propagateToListenersdart-sdk/lib/async/future_impl.dart 516:7 [_complete]dart-sdk/lib/async/future.dart 315:15dart-sdk/lib/_internal/js_dev_runtime/private/isolate_helper.dart 50:19 internalCallback═════════════════════════════════════════════════════════════════════════════════════════════════
═══

April 17, 2020 at 02:52AM by janardhanmupparaju
https://ift.tt/2XH9TrT
New post on /r/flutterdev subreddit:

Learn kotlin only for 7$ use coupon "GET DISCOUNT" for 30% off
https://ift.tt/2VBLBwU

April 17, 2020 at 04:51AM by delansakamoto
https://ift.tt/2KbT1BF
New post on /r/flutterdev subreddit:

White label app - exclude other flavors(schemes) during build time
Let's say I want to write a white label app which will describe my application - for example main view is AVIEW. Then I want to have different flavors(schemes) which will have their implementations of AVIEW in specific directories. The case is that if I build target#1 I don't want to have implementations from target#2, #3 etc. included. How can I achieve that?

April 17, 2020 at 11:31AM by __just_random_dude
https://ift.tt/2RN9sbT
New post on /r/flutterdev subreddit:

FAIL. The application's Info.plist does not contain CFBundleVersion. [Flutter]
hi, I updated flutter and since then I can't access my application on android and IOS.I need help``Launching lib/main.dart on iPhone 11 Pro in debug mode...Xcode build done. 724,2sProcessException: Process exited abnormally: An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=22): Failed to install the requested application The application's Info.plist does not contain CFBundleVersion. Ensure your bundle contains a CFBundleVersion. Command: /usr/bin/xcrun simctl install CC6F37C2-794D-48DE-8EBC-FD7F3DB3FA79 /Users/mac/Desktop/Fabrice_apps/conduireenci/build/ios/iphonesimulator/Runner.app``

April 17, 2020 at 01:46PM by fabricendja
https://ift.tt/2ylfUjl
New post on /r/flutterdev subreddit:

How to access HttpServer on phone?
I'm running a HttpServer instance on the simulator or the phone and cannot access it with the phone's/simulator's IP from the outside, only with http://localhost:3001 from the device.Do I miss a configuration step or do I need another permission besides android.permission.INTERNET?The current state is in this branch: https://github.com/elsamuko/clusterup/blob/features/LoadSaveJSON/lib/server.dart

April 17, 2020 at 03:01PM by el_samuko
https://ift.tt/3bnzVog
New post on /r/flutterdev subreddit:

What are the common problems you are facing while developing apps with Flutter? Problems may include issues with ide, libraries etc.
I am going to list common problems I face daily. My problems are mostly with the toolings. I mostly use Vs code, I don't if these problems exist in Android studio or xcode. This is not a support or help post, because I have already tries most of the solutions mentioned in github and SO.Vs code sometimes builds old code and hot restart/reload don't work properly.I have to do flutter clean too often due to 1.Analyzer terminates every time after flutter clean and sometimes when a build is complete.When the codebase gets bigger then constant termination of analyzer means you have no auto complete, errors/warnings while the analyzer restarts.While debugging using breakpoints, hot restart does not work and gets stucks on syncing files.Lack of audio libarary support from the flutter team. I was working on an audio streaming app, there is not a single library which plays both local and remote audio files, plays in background, have notifications and lock screen controls in both android and ios. When we ended up doing is using multiple plugins to achieve this. For someone who doesn't have great knowledge of both native platforms, this makes getting this done harder and wait for the community to implement features.The problems listed above are already have issues in github and threads in SO. I just want to know if you are facing similar issues. If not what are the other problems you are facing.

April 17, 2020 at 02:46PM by creepy_hunter
https://ift.tt/2VCTbqR
New post on /r/flutterdev subreddit:

How can I add firestore google to this code ?
import 'package:cloud_firestore/cloud_firestore.dart';
enum Type {
multiple,
boolean
}class Question {
final String categoryName;
final Type type;
final String question;
final String correctAnswer;
final List<dynamic> incorrectAnswers;
Question({this.categoryName, this.type, this.question, this.correctAnswer, this.incorrectAnswers});
var ref = Firestore.instance.collection('users').document('id').snapshots();
Question.fromMap(Map<String, dynamic> data):
categoryName = data["category"],
type = data["type"] == "multiple" ? Type.multiple : Type.boolean,
question = data["question"],
correctAnswer = data["correct_answer"],
incorrectAnswers = data["incorrect_answers"];static List<Question> fromData(List<Map<String,dynamic>> data){
return data.map((question) => Question.fromMap(question)).toList();
}
}

April 17, 2020 at 04:34PM by tarq1998
https://ift.tt/3cvrEyn