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

Card wallet application using pattern BLoC
Card wallet app using pattern BLoC.This is my first app for mobile using Flutter and i want to learn more :)https://github.com/EsmerlinJM/Card-Wallet-AppCredits:-Design : CalerEdwards-Implementing BLoC: Daniel Ortiz

June 24, 2019 at 09:03PM by EsmerlinJM
http://bit.ly/2IH52z0
New post on /r/flutterdev subreddit:

Angela yu vs Maximilian schwarzmüller Udemy course?
Those of you who took at least one of these courses ... how was your experience? Can you recommend one of them over the other?

June 24, 2019 at 11:34PM by Sero777
http://bit.ly/2IXMObi
New post on /r/flutterdev subreddit:

Keep me accountable, Streaming making my app, #TDD #CI
http://bit.ly/2Ldw1nr

June 25, 2019 at 12:17AM by DecimalSaxon
http://bit.ly/2IHk2wQ
New post on /r/flutterdev subreddit:

How do I draw a hex grid?
I found a polygon_clipper package that lets me draw regular polygons which solves the problem of drawing 1 hexagon. I'm not sure what the best way to tile them into a grid would be.

June 25, 2019 at 06:16AM by chriskevini
http://bit.ly/2xa2t1Q
New post on /r/flutterdev subreddit:

Need some guidance from developers
Hello fellow developers!I enjoy learning Flutter, but facing some uncertainty.I learnt basic concepts, widgets etc and even developed simple game like tic-tac-toe in few days.Anyway, my goal is to develop production app which is grocery delivery app. So, I do not know how to build "full stack???" app with DB, server, etc so that my app has users that can register, and shops can add grocery products and so on.​So, my questions are:- what's best practice to do such apps?- can sqflite work? If so, where do I create my database (cloud or ?)- Anyone has good tutorial that I can follow?- Should I learn scopemodel? (I found it when I was searching best practice)​I don't have good knowledge creating production apps, so please ignore if I ask silly questions :)I am not native English speaker, and have previous experience on LAMP and java etc.

June 25, 2019 at 05:09AM by athrty
http://bit.ly/31OGICN
New post on /r/flutterdev subreddit:

A short guide to manage your quick actions in Flutter
http://bit.ly/2X3RaCO

June 25, 2019 at 04:58AM by Filledstacks
http://bit.ly/2YazEyj
New post on Flutter Dev Google group:

Flutter login and signup with drupal website
Is anybody aware of login with drupal website by creating session in flutter application

June 25, 2019 at 06:32AM by mahantappa b k
http://bit.ly/2J48Qt3
New post on Flutter Dev Google group:

Future bulider giving error type 'List' is not a subtype of type 'FutureOr
The whole code is pasted below please help. import 'package:flutter/material.dart'; import 'package:http/http.dart' as http; import 'dart:convert'; void main(){ runApp( new MaterialApp( title: 'app', home: new Home(), ) ); } class Home extends StatefulWidget {
@override

June 25, 2019 at 10:12AM by Gopal Jangid
http://bit.ly/2Lhw5mb
New post on Flutter Dev Google group:

Flutter, Dart, OpenCV and custom TF 2.0 Models?
Hi everyone, me and my friends are trying to develop an Android app to detect road lanes (and much more) using the OpenCV Python library and TF 2.0 on mobile. Does the Flutter ecosystem support this? Our first thought was to use Kotlin instead.

June 25, 2019 at 12:13PM by Dominik Clemente
http://bit.ly/2XbDg6R
New post on Flutter Dev Google group:

OneSignal notification to open the app and read the article directly
Hello, I'm building a news app and integrating it with OneSignal, I'm able to receive the notification and when I click on it I'm getting the below JSON code OneSignal.shared .setNotificationOpenedHandler((OSNotificationOpenedResult result) { this.setState(() { print( "Opened

June 25, 2019 at 01:13PM by Rabih M. ElBaba
http://bit.ly/2YagkRC
New post on Flutter Dev Google group:

FCM Push Notification
Hello Friends, anyone know how to pass push notification count another stateful widget in a flutter. am using this method for show notification showNotification(var msg) async { var platform; try { String d = msg['body']; String json = jsonEncode(d); print(json); } catch (E) {

June 25, 2019 at 01:37PM by Vishal Kumar
http://bit.ly/2IIZpQL
New post on /r/flutterdev subreddit:

OneSignal notification to open the app and goes direct to article
Hello,​I'm building a news app and integrating it with OneSignal, I'm able to receive the notification and when I click on it I'm getting the below JSON code
this.setState(() { print( "Opened notification: ${result.notification.jsonRepresentation().replaceAll("\\n", "\n")}"); }); 
JSON Response
Opened notification: { "payload": "{ "google.delivered_priority": "normal", "google.sent_time": 1561415365754, "google.ttl": 259200, "google.original_priority": "normal", "custom": "{"a":{"id":"43682"},"i":"b0f4ef57-9556-4163-9e5c-fbcea08b4ce8"}", "from": "800826514709", "alert": "Test Alert", "title": "Test Title", "google.message_id": "0:1561415365759264%e192c215f9fd7ecd", "notificationId": -655945385 I/flutter (30970): }", "displayType": 2, "shown": true, "appInFocus": true, "silent": null I/flutter (30970): } 
And the below code to capture the payload keys
print(result.notification.payload.jsonRepresentation()); 
JSON Response
{ "google.delivered_priority": "normal", "google.sent_time": 1561415365754, "google.ttl": 259200, "google.original_priority": "normal", "custom": "{"a":{"id":"43682"},"i":"b0f4ef57-9556-4163-9e5c-fbcea08b4ce8"}", "from": "800826514709", "alert": "Test Alert", "title": "Test Title", "google.message_id": "0:1561415365759264%e192c215f9fd7ecd", "notificationId": -655945385 } 
My Question is how do I read the Key "notificationId" and "custom"​Thanks in advanced

June 25, 2019 at 01:08PM by jamesleeba
http://bit.ly/2IHSirZ
New post on /r/flutterdev subreddit:

3 reasons why we chose Flutter and why you should too
We just wrote an article about why companies should choose flutter. If you like it, can you give a clap, please.​https://medium.com/@codebase.studio/3-reasons-why-we-chose-flutter-and-why-you-should-too-39aca71796f4

June 25, 2019 at 04:22PM by glancer000
http://bit.ly/2X4dd1i
New post on /r/flutterdev subreddit:

In using Providers, is there a need to setup getters?
I've have two scenarios where a provider has its getters setup and one who has not.
class ProviderWithoutGetters extends ChangeNotifier { int counter; setCounter(int i) { counter = i; notifyListeners(); } 
and
class ProviderWithGetters extends ChangeNotifier { int _counter; int get counter => _counter; setCounter(int i) { _counter = i; notifyListeners(); } 
so when using this in an app, everything behaves exactly the same, ie
Consumer<ProviderWithoutGetters>( builder: (context, provider, child) => Text('${provider.counter}') ) 
and
Consumer<ProviderWithGetters>( builder: (context, provider, child) => Text('${provider.counter}') ) 
They behave the same.My question is, what's the reasoning behind the getters and is there a difference between the two approaches in terms of performance, compatibility etc?Thanks!

June 25, 2019 at 03:23PM by mr_poopybumhole
http://bit.ly/2Y8xpLM
New tweet from FlutterDev:

With Futures, @Dart_Lang’s most basic API for asynchronous coding, you can:

React to async data
Catch errors
Build Flutter widgets with FutureBuilder

Learn more in this episode of #FlutterinFocus &rarr; https://t.co/ZEt8aQslP3 pic.twitter.com/lA84s63cs9— Flutter (@FlutterDev) June 25, 2019

June 25, 2019 at 07:10PM
http://twitter.com/FlutterDev/status/1143567070094876677