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

Why Flutter's performance is lower than native?
Hi all,I hope it's okay to ask question in here, but i haven't found any restrictions in the "Read this before posting".
Can someone explain to me why Flutter is slower than native Android or IOS? As far as I know Flutter compiles to native executable Code so it should be as fast as native Android, right?​Thanks in advance!

November 25, 2019 at 10:57PM by IlutschiI
https://ift.tt/2qAQISF
New post on /r/flutterdev subreddit:

Minimal Counter app with Flutter Hooks, ChangeNotifier and Streams
I came up with a minimal app using a ChangeNotifier model that gets transformed into a Stream to be consumed by a custom Hook to update the widget. Thought I'd share.```dart import 'dart:async';import 'package:flutter/foundation.dart'; import 'package:flutter/widgets.dart'; import 'package:flutter_hooks/flutter_hooks.dart';main() => runApp(MyApp());class MyApp extends HookWidget { @override Widget build(context) { AsyncSnapshot<Post> snapshot = useChangeNotifierAsStream(Post()); return GestureDetector( onDoubleTap: () => snapshot.data.count++, child: Center( child: Text( 'Counter: ${snapshot.data.count}', textDirection: TextDirection.ltr, ), ), ); } }AsyncSnapshot<T> useChangeNotifierAsStream<T extends ChangeNotifier>(T model) { final stream = useMemoized(() => changeNotifierToStream(model)); return useStream(stream, initialData: model); }class Post extends ChangeNotifier { int _count = 0; get count => _count; set count(value) { _count = value; notifyListeners(); } }Stream<T> changeNotifierToStream<T extends ChangeNotifier>(T model) { StreamController<T> _controller;void _listener() => _controller.add(model); void start() => model.addListener(_listener); void end() => model.removeListener(_listener);_controller = StreamController<T>( onListen: start, onPause: end, onResume: start, onCancel: end, ); return _controller.stream; } ```

November 26, 2019 at 03:17AM by frank06_
https://ift.tt/33m7JNq
New post on /r/flutterdev subreddit:

Dynamic Profile Creation w/ Google Sign In
How would I go about implementing a user profile functionality with google sign in. I have the google sign in functionality completed, but when the user logs in, I want the user to complete a profile (phone number, address, etc.) and have that information saved with their uid in cloud firestore. Any direction would be appreciated!

November 26, 2019 at 12:22AM by ro_mo
https://ift.tt/33nSgMN
New post on Flutter Dev Google group:

Multiple local notification
I use this code for local notification var androidPlatformChannelSpecifics = new AndroidNotificationDetails( 'your other channel id', 'your other channel name', 'your other channel description'); var iOSPlatformChannelSpecifics = new IOSNotificationDetails(); Notificati

November 26, 2019 at 06:02AM by Dilman Omer
https://ift.tt/34mS0yW
New post on Flutter Dev Google group:

Upload file using AWS S3 return empty string in Flutter
I'm trying to do image upload with dart/flutter with aws s3 bucket using flutter_amazon_s3
New post on Flutter Dev Google group:

How to build books library App with Flutter
Dear all, Please my name is Ernie and am new to Flutter, I will like to know how l can build a book library app like the attached file Any help will be appreciated than you

November 26, 2019 at 08:27AM by Kak Kakra
https://ift.tt/2sdggp6
New post on /r/flutterdev subreddit:

What is Dart convention for writing Models ?
So coming Java background i would always write instance fields first and then constructor/s.In Dart what I am seeing its other way around, which is confusing sometimes, at first look, but its not always like that.Is there a clear rule to this ? Is it a Dart convention ?

November 26, 2019 at 09:14AM by zvrksam86
https://ift.tt/2qCDZyO
New post on Flutter Dev Google group:

How to show icon ?? from an api ?
i want to get and show an icon from api. how i can do this? anybody.?

November 26, 2019 at 10:42AM by Mohd. Asif
https://ift.tt/37NDFxU
New post on Flutter Dev Google group:

Get list of url's present in a string
Need help with getting the list of url present in a string

November 26, 2019 at 11:04AM by Burhan U Din Drabu
https://ift.tt/2rmuVOp
New post on Flutter Dev Google group:

GraphQL Usage in Flutter
Hi Do we have the client library for using GraphQL in flutter? Regards Sreekanth K Reddy

November 26, 2019 at 11:27AM by Sreekanth Reddy
https://ift.tt/2DeoOOZ
New post on Flutter Dev Google group:

Connectivity
I have created an multi restaurant delivery app. I need to connect the user app and delivery boy app that if some one orders in user app the info should be passed to delivery boy app. How could i connect them using flutter

November 26, 2019 at 11:44AM by Manish Raghavan
https://ift.tt/2OlSdwT
New post on /r/flutterdev subreddit:

Flutter WebView: new flutter_inappbrowser plugin version 2.0.0 released with a lot of new events, options and methods to control WebViews.
https://ift.tt/2Olh1mg

November 26, 2019 at 12:37PM by LorePi
https://ift.tt/2qOuvjP
New post on /r/flutterdev subreddit:

Is it possible to write an iOS/Android plugin using Flutter?
That is, if I wanted to write a plugin for iOS/Android that will plug into Swift/ObjC/Java/Kotlin, is that possible and are there any examples of this?

November 26, 2019 at 02:33PM by ac_version_01
https://ift.tt/37HNywP
New post on /r/flutterdev subreddit:

Any advice on firebase cloud messaging?
Hi,I'm about to integrate firebase cloud messaging into my app and was wondering if redditors had any design advice. All the tutorials I have found place the flutter code into the main.dart file or a home screen.dart file. Is there a good design practice for these notification modules in a production app. Would placing them in a services folder and then importing into main work?Thanks,

November 26, 2019 at 02:52PM by pigeon888
https://ift.tt/33iDhnr
New post on Flutter Dev Google group:

how to debug flutter engine step by step correctly
hi, all I have compiled the flutter engine successfully, and configure it in my xcode example by generated.xcconfig file: FLUTTER_ROOT=/Users/xxx/Desktop/FlutterWork/flutter_github_1.9.1 FLUTTER_APPLICATION_PATH=/Users/xxx/Desktop/FlutterWork/flutter_boost/example FLUTTER_TARGET=lib/main.dart

November 26, 2019 at 04:44PM by Jim Xu
https://ift.tt/33jq7Xu
New post on /r/flutterdev subreddit:

My youtube flutter playlist
Please like,subscribe and sharehttps://www.youtube.com/playlist?list=PLOvEA8-W5LWkm6kixEj4Yx4Ho71bbOdGj

November 26, 2019 at 05:23PM by htetwaihlaing
https://ift.tt/2OoGJIQ
New tweet from FlutterDev:

🗣Tell us more! 🗣

We want to know about your Flutter experience. The more we know about it, the more we can improve! Help us make Flutter even better by taking the survey in the link below.

Take the survey &rarr; https://t.co/at2mV5s0u6 pic.twitter.com/9vwvGzu2pb— Flutter (@FlutterDev) November 26, 2019

November 26, 2019 at 06:00PM
http://twitter.com/FlutterDev/status/1199372245820477440