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

How do you pass data between siblings using rxdart?
Hi, I've been struggling with trying to solve how to pass data between sibling widgets in flutter. I tried using just vanilla setstate calls, and I learned that is not the way to go. So I got interested in reactive programming, and now I want to know how to accomplish passing data between siblings using rxdart.My use case is I basically want to create a crud form. I want to be able to add users to a list view, then be able to tap the user in the list view, and populate the form with that data from the list view (the tapped tile). I've posted a question on stack overflow, but based on my experiences in the past, I don't get answers as much as I'd like to.Here is the stack overflow post with the code if youd like to see that. https://stackoverflow.com/questions/56658327/how-to-populate-a-form-from-a-listview-on-tap-in-flutterAre there any helpful guides on how to achieve this? All I've seen for examples are basic parent child to widget passing data (counter/inctement examples).Thanks so much for any help, in advance.

June 19, 2019 at 02:01PM by MeerkatArray
http://bit.ly/2x5xeFi
New post on /r/flutterdev subreddit:

inview_notifier_list : Flutter package that builds a ListView and notifies when the widgets are on screen within a provided area.
http://bit.ly/31GYfwP

June 19, 2019 at 01:03PM by EngineerScientist
http://bit.ly/2Ir0WLg
New post on Flutter Dev Google group:

I am new in flutter please help to figure out creating UI.
Hi, I am new to flutter i want to figure out can we create UI as shown in image using widgets out of the box control. Please let me know Is it possible or not . I am new in flutter not able to find any thing i can do as shown in image. Your help will be highly appreciated. Thanks,

June 19, 2019 at 03:40PM by Ketan Mokariya
http://bit.ly/2RpZRGv
New post on Flutter Dev Google group:

How to create an endless list that scrolls in both directions?
I'm looking for the best way to create an endless scrolling list which can be scrolled in *both* directions. By default, a list starts at index 0 and can then scroll endlessly towards positive infinity. I'd like to have the same effect towards negative infinity. I tried to set the scroll

June 19, 2019 at 04:05PM by Stefan Matthias Aust
http://bit.ly/2MWYm48
New post on /r/flutterdev subreddit:

Flutter for beginners
Hello! I have been thinking about getting into programming for some time now and after some consideration I decided to pickup Flutter+Dart. Do you think this is a good starting point for a complete beginner? Where can I find dome learning resources? I am already feeling overwhelmed because I do not even know where to start learning, so any help is appreciated. Thanks a lot!

June 19, 2019 at 05:00PM by Bwks
http://bit.ly/2IUktTu
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