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

Proper way to organize UI?
Is there a definitive video tutorial that explains the proper way to organize a layout in flutter?​I have found that I sometimes make things look excellent on my phone, but then different emulators have padding or overflow issues. I have also found it very difficult to embed my custom widgets into things like slivers so that they can be scrolled with other content. I feel like I'm doing things "wrong" and don't understand the correct way to organize my UI elements.

June 19, 2019 at 05:52PM by joe0418
http://bit.ly/2FlbyJw
New post on /r/flutterdev subreddit:

Google Tasks Clone built with Firebase and Flutter for Web
http://bit.ly/2WS0UQo

June 19, 2019 at 09:08PM by SoundDr
http://bit.ly/2x01H7F
New post on /r/flutterdev subreddit:

Row / Column vs Stack performance?
Is there a lot performance difference with Row / Column and Stack performance? If you some other good layout Widget alternatives let me know.Thanks!

June 19, 2019 at 10:36PM by HomeDope
http://bit.ly/2RoRtHp
New post on /r/flutterdev subreddit:

In BLoC pattern, how should I store global state?
I'm learning BLoC pattern coming from Redux, and I'm confused about how I manage state globally. In BLoC, there is no "single source of truth". It seems like the "single source of truth" is something I have to implement seperately? It would be of great help if someone explained to me how Blocs work in terms of global state.

June 20, 2019 at 04:32AM by AmateurLlama
http://bit.ly/2x4mBT5
New post on Flutter Dev Google group:

How to create splash screen for multiple flavours in ios?
I have searched internet lot about flavours splash screen for different targets but i can't get proper guide somebody please guide Thanks in advance

June 20, 2019 at 08:35AM by Suriya Suriya
http://bit.ly/2WS4eex
New post on /r/flutterdev subreddit:

Is there any way to open link that comes from onesignal on webview? Ask
I'm using webview widget in my flutter app I want to open a link when user tap on notification, the link comes from additional data on one signal I tried to make this but it doesn't work
my code :
import 'package:flutter/material.dart'; import 'dart:async'; import 'package:flutter_webview_plugin/flutter_webview_plugin.dart'; import 'package:onesignal/onesignal.dart'; void main() => runApp(new MyApp()); class MyApp extends StatefulWidget { @override _MyAppState createState() => new _MyAppState(); } class _MyAppState extends State<MyApp> { String _debugLabelString = ""; String url = "https://www.google.com"; @override void initState() { super.initState(); initPlatformState(); } Future<void> initPlatformState() async { if (!mounted) return; OneSignal.shared.setLogLevel(OSLogLevel.verbose, OSLogLevel.none); OneSignal.shared.setRequiresUserPrivacyConsent(_requireConsent); var settings = { OSiOSSettings.autoPrompt: false, OSiOSSettings.promptBeforeOpeningPushUrl: true }; OneSignal.shared.setNotificationReceivedHandler((notification) { this.setState(() { url = notification.payload.additionalData['url'].toString() ; }); }); OneSignal.shared .setNotificationOpenedHandler((OSNotificationOpenedResult result) { this.setState(() { // the value of result.notification.payload.additionalData['url'] = https://www.facebook.com/ url = result.notification.payload.additionalData['url'].toString() ; }); }); // NOTE: Replace with your own app ID from https://www.onesignal.com await OneSignal.shared .init("086d22bd-5539-4849-9db2-01589fd3429d", iOSSettings: settings); OneSignal.shared .setInFocusDisplayType(OSNotificationDisplayType.notification); } @override Widget build(BuildContext context) { return new MaterialApp( home: new Scaffold( appBar: new AppBar( title: const Text('OneSignal Flutter Demo'), backgroundColor: Color.fromARGB(255, 212, 86, 83), ), body: WebviewScaffold( url: url, withJavascript: true, ) ), ); } } 
I put facebook.com on in additional data it show google page not facebook how to make it show the save value the I put on additional data

June 20, 2019 at 10:25AM by Hajja_company
http://bit.ly/2Xk7eVr
New post on Flutter Dev Google group:

Looking for a way to detect system UI overlay changes
Is there any way to detect when the system status bar and navigation buttons change state (hidden/visible)? We already have SystemChrome from package:flutter/services.dart but it doesn't expose any such methods.

June 20, 2019 at 11:42AM by Kristiyan Mitev
http://bit.ly/2XYBja9
New post on Flutter Dev Google group:

I'm trying to add marker for every user's last location.
Hello, I'm trying to add markers for users' last location on map. There is an error- Exception caught by gesture. Getter length was null. This is my location.dart import 'dart:async'; import 'dart:convert'; import 'package:flutter/material.dart'; import 'package:google_maps_flutter/googl

June 20, 2019 at 11:49AM by Rajashree Parhi
http://bit.ly/2XoyCl2
New post on Flutter Dev Google group:

Latest Cross-Platform App Development Technology- Flutter
Why target on a particular device, when you can make all your devices compatible with a single application? The Flutter App Development of Data EximIT allows you to own an innovative application that is compatible with multiple operating systems. 1. Convenient coding to suit the concept 2.

June 20, 2019 at 01:33PM by Data EximIT
http://bit.ly/2Xm02YR
New post on Flutter Dev Google group:

Sidescrolling Widgets
Hi Community I havea problem that is driving me nuts in Flutter. I have a layout that requires some widget like a simple card to be scrolled sideways. So Listview seemed to be good choise but.... This is working but scrolldirection is vertical since this is the default Padding( padding:

June 20, 2019 at 02:28PM by Peter Kretschmer
http://bit.ly/2Y0sTit
New post on Flutter Dev Google group:

Is there any way to open link that comes from onesignal on webview? Ask Question
I'm using webview widget in my flutter app I want to open a link when user tap on notification, the link comes from additional data on one signal I tried to make this but it doesn't work my code : import 'package:flutter/material.dart';import 'dart:async';import 'package:flutter_webview_plugin/f

June 20, 2019 at 04:34PM by DoN Smash
http://bit.ly/2XmMufD
New post on /r/flutterdev subreddit:

Record video or media streaming in flutter web
​I newbie in FLutter Web. I want to record video from the webcam and store in Database by the flutter web. is it possible to record video from the flutter web? I have been searching for days but found nothing.

June 20, 2019 at 04:17PM by farhana_sys
http://bit.ly/2x7ctZM
New post on /r/flutterdev subreddit:

First face tracking experiments in ARKit for Flutter. Really basic, but you may go bananas already.
http://bit.ly/2Rs2rvv

June 20, 2019 at 06:04PM by EngineerScientist
http://bit.ly/31MraiU