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

How to repaint from outside main.dart?
I wanted to outsource some code to different dart-files, so I created some static classes that create widgets of some kind for me. However, if I need to repaint nothing happens, because (I guess) setState isn't called. How would I need to change my code to repaint? main.dart for example return

July 16, 2019 at 12:06PM by Chris W
https://ift.tt/2kaP1bd
New post on /r/flutterdev subreddit:

GitHub - flutter-devs/flutter_Flipkart_UI_clone: Demo UI of Flipkart app made with Flutter.
https://ift.tt/2luC4sV

July 16, 2019 at 01:11PM by Flutter-Devs
https://ift.tt/2jDFrgC
New post on /r/flutterdev subreddit:

Include c++ or python in Flutter app
Hello everyone,I'm currently working on a project, and I need to add a c++ code (or a python code) inside my Flutter app, any way to do so? Or is it impossible?Thanks in advance !

July 16, 2019 at 02:35PM by rabihkadi
https://ift.tt/2kaK8im
New post on /r/flutterdev subreddit:

FLX: An open source mobile game made with Flutter to test your reflexes
https://ift.tt/2lcaErz

July 16, 2019 at 03:24PM by Pixels97
https://ift.tt/2le6Oyj
New post on /r/flutterdev subreddit:

Flutter - Provider - Points of interest - Points to care about
https://ift.tt/2laMXzW

July 16, 2019 at 03:14PM by Purple_Pizzazz
https://ift.tt/2ldbVie
New post on Flutter Dev Google group:

Show custom error message if a page is not loaded in webview_flutter
Dear all, I am using webview_flutter to display HTML pages. If a page is not loaded due to internet connectivity failure, it shows the default error message. I want to show a custom error message instead of that. Kindly let me know how to achieve that. Thanks, Niladri

July 16, 2019 at 03:30PM by Niladri Paul
https://ift.tt/2lvhWa7
New post on /r/flutterdev subreddit:

Link to vscode widget tree plugin?
I've seen people on youtube using a plugin that helps with folding widgets, and more easily see the widget three.Can someone link me the vscode plugin

July 16, 2019 at 03:56PM by dasmikko
https://ift.tt/2jKKfkz
New post on /r/flutterdev subreddit:

Does Firebase Documentation for Dart/Flutter Exist?
Hello all!Does anyone know if there is any official Firebase documentation for Dart/Flutter (Specifically Cloud Firestore) available? I couldn’t find anything on the Firebase website, but I find it hard to image that Google wouldn’t be updating their official documentation to support one of their homegrown products.

July 16, 2019 at 04:43PM by Zhultaka
https://ift.tt/2kc0hUI
New post on /r/flutterdev subreddit:

Use graphql_codegen to save your life
I'm working on the graphql_codegen project, which could generate Dart codes from graphql files.Try it now and give me feedback to help me to improve it.Example:graphql query projectDetail($fullPath: ID!, $first: Int!, $after: String!, $status: PipelineStatusEnum) { project(fullPath: $fullPath) { archived pipelines(first: $first, after: $after, status: $status) { edges { cursor node { id iid sha status detailedStatus { detailsPath hasDetails } } } pageInfo { endCursor hasNextPage hasPreviousPage } } } }```dart ...class ProjectDetailVariable { ProjectDetailVariable({this.fullPath, this.first, this.after, this.status});String fullPath; int first; String after; PipelineStatusEnum status;Map<String, dynamic> toJson() { return { 'fullPath': fullPath, 'first': first, 'after': after, 'status': PipelineStatusEnumValues.reverseMap[status] }; } }class ProjectDetailQuery { ProjectDetailQuery({this.project});factory ProjectDetailQuery.fromJson(Map<String, dynamic> json) { if (json == null) { return ProjectDetailQuery(); } return ProjectDetailQuery( project: ProjectDetailQueryProject.fromJson(json['project'])); }ProjectDetailQueryProject project;Map<String, dynamic> toJson() => {'project': project?.toJson()}; }... ```

July 16, 2019 at 05:29PM by LongYinan
https://ift.tt/2lLhc0R
New post on /r/flutterdev subreddit:

Building a Social app UI with Flutter
https://ift.tt/2jMKmfk

July 16, 2019 at 07:26PM by JideGuru
https://ift.tt/2jHZ3Ae
New post on /r/flutterdev subreddit:

How to show a circular spinner on login page.
Could some of the brilliant minds on here kindly help a noob with regards to a simple Flutter dilemma.I am trying to create a simple login page which does an authentication on button click using the BLOC
architecture pattern.I have most of the piece working except one thing:How do I display a CircularProgressIndicator
in the center of the app while the login is in progress and then dismiss it once it's complete (irrespective if the call is a success or failure)?I am seeing conflicting answers where some are recommending usage of Streams, Future or FutureBuilderP.S: Posted same question on SO: https://stackoverflow.com/questions/57063225/flutter-show-spinner-on-loginThanks!

July 16, 2019 at 10:00PM by androiddevforeast
https://ift.tt/2jN2OV5
New post on /r/flutterdev subreddit:

Can we make Instant app with flutter now or in the future?
https://flutter.dev/docs/resources/faq#why-did-flutter-choose-to-use-dartHow big is the Flutter engine?In December 2018, we measured the download size of a minimal Flutter app (no Material Components, just a single Center widget, built with flutter build apk), bundled and compressed as a release APK, to be approximately 4.06 MB.​​For this simple app, the core engine is approximately 2.7 MB (compressed), the framework + app code is approximately 820.6 KB (compressed), the LICENSE file is 53.5 KB (compressed), necessary Java code (classes.dex) is 61.8 KB (compressed), and there is approximately 450.4 KB of (compressed) ICU data.​​These numbers were measured using apkanalyzer, which is also built into Android Studio.

July 16, 2019 at 10:05PM by Sungodragon
https://ift.tt/2ln9Z73
New post on /r/flutterdev subreddit:

Flutter Drawers done right
https://ift.tt/2lhMewU

July 16, 2019 at 11:40PM by JideGuru
https://ift.tt/2ljOW4Y
New post on /r/flutterdev subreddit:

Different Development/Production Environments in the context of FirebaseAnalytics and other Flutter plugins
Hello friends,I'm implementing FirebaseAnalytics into my iOS and Android Flutter app at the moment and I've run into some challenges. Naturally, I want to exclude my development analytics events from my production analytics events so that the production events can actually inform business decisions, yet I can still verify that my app is sending events correctly in the development environment. This is a surprisingly hard topic to find information on given lots of people must have this issue. Many solutions depend on creating two separate Firebase projects, one for [Development] and one for [Production]. This approach sounds feasible (I use a similar approach for Google Web Analytics), however for Flutter I'll need to include separate "GoogleService-Info.plist" and "google-services.json" files based on whether I'm running the app in development (either on my emulator or a physical device) vs. being on a production device distributed through the Google or Apple stores. A runtime-based solution isn't quite ideal, as Firebase sends events like "app launch" that get sent very early in the app life-cycle and I'm not convinced I'd be able to intercept these and reliably or easily send them to the appropriate Firebase project. So, in terms of general architecture, how has anyone else tackled the problem of different "includes" in development/production environments in a "Fluttery" way?

July 17, 2019 at 12:55AM by SaladLizard
https://ift.tt/2ln7GRq
New post on /r/flutterdev subreddit:

Created this awesome (before_after) slider last night which makes it easier to display the difference between two images.
https://ift.tt/2LUOlCd

July 17, 2019 at 02:57AM by xsahil03x
https://ift.tt/2GgY1mO
New post on Flutter Dev Google group:

How to create a rectangle area when capturing (camera) in Flutter?
How to create a rectangle area when capturing (camera) in Flutter?

July 17, 2019 at 07:55AM by 北科大-陳珈鋐
https://ift.tt/2GgAxhG
New post on /r/flutterdev subreddit:

Flutter for web app - good or bad fit?
hey guys, I am a complete beginner with Flutter and wanted to ask whether it's good for web apps or only for mobile apps development?

July 17, 2019 at 11:26AM by ronix900
https://ift.tt/2SovSPQ
New post on Flutter Dev Google group:

TextInputType
Hi, is it possible to create a textinputtype with colon? I want to input datetime strings like "19.06.18 14:23" and used TextInputType.numberWithOptions(signed: true, decimal: true), If I test this with my Huawei/Swiftkey everything is fine because it shows up with an extended numerical

July 17, 2019 at 02:30PM by Frank Weißenborn
https://ift.tt/2YYp9yu
New post on /r/flutterdev subreddit:

firedart now supports listening to real-time Firestore changes
https://ift.tt/2YbTzwR

July 17, 2019 at 02:21PM by DrCachapa
https://ift.tt/2Gi2uWr