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

how to perform different operation if users drag right and drags left using gestureDetector widget
hi guys im having hard time setting defining my scroll left and scroll right using gstureDetector widget , this is my code onHorizontalDragStart: (d) { myController.animateCamera( CameraUpdate.scrollBy(50.0, 0.0), ); print("dragging"); }, // i want if the users scroll toward

January 11, 2019 at 03:01PM by ibrahim shehu ibrahim
http://bit.ly/2AAuDFt
New post on /r/flutterdev subreddit:

Best Resources for Learning Bloc Pattern?
I've been searching around for some good examples/resources to learn how to implement reactive programming via the Bloc pattern in flutter. I was wondering if anyone knows what the best resources for learning about this are.​I've found these posts by Dieder Boelens helpful, as well as Felix Angelov's medium posts, packages, and tutorials. The boring show is great for getting acquainted with the material, of course, but it is not really the best for referencing. Does anyone know any other resources that are good for learning this material, or what is the authoritative reference for Bloc?

January 11, 2019 at 08:40PM by definitely_robots
http://bit.ly/2QGo8Gb
New post on Flutter Dev Google group:

Flutter Starter kit for beginner to learn Bloc pattern, RxDart, sqflite, Fluro and Dio
Hi, i just write a starter kit for beginner to learn Bloc pattern, RxDart, sqflite, Fluro and Dio to architect a flutter project. This starter kit build an App Store app as a example. http://bit.ly/2RqBJ9R Enjoy it.

January 12, 2019 at 05:01AM by King Wu
http://bit.ly/2FmDtdM
New post on Flutter Dev Google group:

Flutter Image Picker not working
I am trying to use this image_picker and Firebase Storage and I think it should work but I'm getting an error. Im someone knows why that would be helpful. My code: Future _pickSaveImage() async { final File imageFile = await ImagePicker.pickImage(source: ImageSource.gallery); final

January 12, 2019 at 05:11AM by Brennan Altringer
http://bit.ly/2RsWRMY
New post on /r/flutterdev subreddit:

A starter kit for beginner learns with Bloc pattern, RxDart, sqflite, Fluro and Dio to architect a flutter project
http://bit.ly/2RqBJ9R

January 12, 2019 at 05:16AM by ycy101
http://bit.ly/2M4oYMg
New post on Flutter Dev Google group:

Flutter Hero Animations
Does Flutter Hero animations not work with StreamBuilder from Firebase. It animates but when you go back from the second screen there is that split second where the image hasn't loaded in from the Firebase stream yet. Is there a way to fix that? I added a video so everyone can see.

January 12, 2019 at 07:08AM by Brennan Altringer
http://bit.ly/2SP7zKf
New post on /r/flutterdev subreddit:

Fimber 0.1.8 released
Support for dart only and flutter loggin library inspired by Timber from Android. Based on Android standard logging format and similar iOS logging to console.https://pub.dartlang.org/packages/flutter_fimberAlso DartVM only. https://pub.dartlang.org/packages/fimber

January 12, 2019 at 03:25PM by Magillus
http://bit.ly/2SPzPMP
New post on Flutter Dev Google group:

Making a local image directly appear in a chat, analog to WhatsApp (not waiting for Firebase stream)
Hi, I just started programming 3 weeks ago. While writing a chat app, I want to improve performance when an image is sent. Currently, there is a delay when sending an image (until it shows within the chat of the person who is sending). So when the image is posted, it should be directly shown

January 12, 2019 at 03:41PM by Matthias Wolff
http://bit.ly/2M5FV9a
New post on Flutter Dev Google group:

Any Pyment geteway for flutter (eg: Tez ,Paytm,phoneph)
Plez Give any options for this problem.

January 12, 2019 at 03:44PM by Vishnu Suresh
http://bit.ly/2squmQZ
New post on /r/flutterdev subreddit:

Flutter — GestureDetector Widget #2 – Karthik Ponnam – Medium
http://bit.ly/2Fn7Ssv

January 12, 2019 at 04:11PM by KarthikPonnam
http://bit.ly/2FmVw3M
New post on Flutter Dev Google group:

Google admob
I develop an app (flutter) and integrated Google AdMob to it, I run test banner and the ads displayed when I added my own AdMob id and test run the app again, I was unable to see ads, please I need your recommendations and suggestions...

January 12, 2019 at 09:36PM by Promise Amadi
http://bit.ly/2AGdkmo
New post on /r/flutterdev subreddit:

Embed youtube video using the android api, is it possible?
I have been trying to create a plugin to allow embedding YouTube videos into flutter apps, following this post as an example https://medium.com/flutter-community/flutter-platformview-how-to-create-flutter-widgets-from-native-views-366e378115b6. Also https://developers.google.com/youtube/android/player/reference/com/google/android/youtube/player/package-summarySo far I have excluded the YouTubePlayerView as a possibility. It cant be used in the flutter activity as the youtube api requires a context created in an activity extending the Youtube base activity (flutters activity already extends PlatformViewFactory so this is not possible(?)). Creating another activity seems to mean creating it with an intent. This does work, a YouTube video can be loaded, but it navigates away from the flutter view into a native page. This isn't really the desired result.Seems the YouTubePlayerFragment is the way to go.However, trying to use the fragment doesn't seem to have a way of working either. Adding a layout xml file, inflating it and returning it as the view seems to work fine. The flutter activity gives access to to the fragment manager. All good so far. Problem seems to be that the flutter activity fragment manager uses android.app.FragmentManager and the Youtube api uses android.support.v4.app.FragmentManager. These types seem to be incompatible with each other.Any thoughts on how it could be implemented? (other than giving up and using a webview). I'm from a JS background rather than Android so it could just be my lack of understanding of how views/context/activities/fragments work.

January 12, 2019 at 10:46PM by Pristine_Comfort
http://bit.ly/2Rm7aSE
New post on /r/flutterdev subreddit:

Working with Flutter Drawer: outside of main.dart & how do I navigate?
https://flutter.io/docs/cookbook/design/drawerMost of the Flutter examples IMHO just put the widgets all in the same file, which isn’t really realistic and don’t show how you would have to actually extract the widgets into separate files which I believe is a best practice.It took me a while to find an appropriate example and even when I did, I felt that the example did not properly explain the difference between pushing a new PageWidget and replacing the PageWidget when structuring the navigation stack for an application.My approach is to always “pushReplacement” when selecting an item from the Drawer and “push” when changing from one page to another.See: Navigator.pushReplacement​The code and rest of the details are here in a blog post​https://medium.com/@c_innovative/working-with-flutter-drawer-outside-of-main-dart-9f506652fa11https://i.redd.it/6o8d16i152a21.png

January 12, 2019 at 10:08PM by aaronksaunders
http://bit.ly/2QHuxB5