Flutter Heroes
25.8K subscribers
272 photos
2 videos
31.1K links
Download Telegram
GGroup: Valid RegExp Expressions
Flutter is saying this is not a valid RegExp Expression, but same code in DartPad works. Why does Flutter not think this is valid. RegExp('(?<=breeds\/).*?(?=\/)') All I want to do is extract "houd-afghan" from the URL below. var str = "https://images.dog.ceo/breeds/hound-afghan/n02088094_5150.j

Submitted October 25, 2018 at 05:04PM by Claude Grecea
via Flutter Dev https://ift.tt/2PUnDcd
Reddit: Flutter app error - type 'Timestamp' is not a subtype of type 'DateTime'
I'm fetching data cloud firestore & trying to show in my app by using the following piece of code.​new Text(timeago.format(document.data['tripDoc']['docCreatedOn'])),​I'm using ```timeago``` dart package to format that. But, after making updating to latest cloud firestore plugin I'm getting this error -​Another exception was thrown: type 'Timestamp' is not a subtype of type 'DateTime'​Can't able to understand how to parse this 'TimeStamp' object to 'DateTime'. Because ```timeago``` plugin need data in DateTime object format.

Submitted October 25, 2018 at 09:27PM by mi6crazyheart
via reddit https://ift.tt/2yy24Ya
Reddit: Protocols and Enums in Dart
I come from an iOS background and recently decided to learn about Flutter. I am curios to know if things like Protocols and Enums exist in the Dart Programming Language. Can you do Protocol Oriented Programming in Dart?

Submitted October 26, 2018 at 12:02AM by zapoJMR
via reddit https://ift.tt/2yySh3U
Reddit: Is flutter/dart worth learning as a freelancer?
Im looking to transition into mobile dev. Is flutter worthwhile to learn for contract work? I dont see any job listings for it. Or should i look into react-native?

Submitted October 26, 2018 at 12:52AM by yabadababoo
via reddit https://ift.tt/2qcVnWO
Reddit: Basic design of a flutter app
Hi,I am new to flutter and have been following the flutter tutorial for the past few days and it seems to me that all the codes are written inside of main.dart. Are the designs usually like that? Does flutter support reusable components like having each class in different files ?Thanks!

Submitted October 26, 2018 at 10:12AM by recodexxx28
via reddit https://ift.tt/2z3uetv
Reddit: A new library for lists that should snip to a specific position.
Hello, Flutter reddit community!​I've just published a library https://pub.dartlang.org/packages/snaplist#-readme-tab-. It is for creating lists which snips to a specific position. I'd like to hear from you how does it feel, because it is my first library EVER!​The github repo is here https://github.com/ariedov/flutter_snaplist. I'd love if you fire issues, write pull requests and press the star icon at the top.

Submitted October 26, 2018 at 12:50PM by ariedov
via reddit https://ift.tt/2z4SvPQ
Reddit: Does caching work in graphql_flutter subscriptions
I was going through the code of graphql_flutter, I was wondering if cache support is available for subscriptions which uses the SocketClient instead of the GraphqlClient.

Submitted October 26, 2018 at 01:02PM by dopecoder
via reddit https://ift.tt/2CII4Fj
Reddit: Getting overwhelmed with all the choices for mobile architecture, any help appreciated.
Hi,When I was in uni back in ~2003, we didn't have this issue of where and when data/application/display is. We had applications that ran on your machine or server-side and show some result via html. Life was simple. Trigger loads some new screen.Now there's states and layers and I'm getting lost. I'm prototyping and coding my own app, all this was very confusing until I found out about mobile app architecture. Bob Marley - Small Axe - YouTube >> I use this as a mantra when I feel overwhelmed. This time, my mantra is failing me. Help me chose an architecture.I can do each of the following separately, but getting lost trying to string them together:It's an app for diaspora communities to share memories and stories. So the main view is a list of items leading to different type of views. All data will be stored in Firebase. I want the flow to be fast and responsive, or appear to be so. I want to load each display with temporary placeholder items while the assets are fetched Logged in user determined what's listed (working on it)One type of item will be short clips. When the user clicks it immediately loads the video screen. As soon as the video's done The front facing camera opens and the app waits for the user to record a reply As soon as the user releases the record button, the video is replayed video is played back and then app automatically goes back to main view Upload users's response in the background Update usage stats in the background

Submitted October 26, 2018 at 03:20PM by somenick
via reddit https://ift.tt/2Reuu0j
GGroup: Deep linking and Deferred Deep Linking support
Hi All, Does Flutter currently have or will have support for Deep Linking and Deferred Deep Linking. If it will, do we have a roadmap for when this will happen? Thanks and have a great weekend! Quan

Submitted October 26, 2018 at 08:51PM by Quan Nguyen
via Flutter Dev https://ift.tt/2D6ROKk
Reddit: gradient_widgets | A minimal set of Flutter widgets encased with beautiful gradients.
https://ift.tt/2OMwuA2

Submitted October 26, 2018 at 09:46PM by Purple_Pizzazz
via reddit https://ift.tt/2yAqHDo
Reddit: Flutter + MVC at Last!
https://ift.tt/2O9Ag1k

Submitted October 26, 2018 at 09:45PM by Purple_Pizzazz
via reddit https://ift.tt/2yzOGTo
GGroup: Regarding contact info
Hey! I wanted to contact flutter regarding an event I am orgnizing. Where would I be able to get that?

Submitted October 26, 2018 at 10:43PM by iit20...@iiita.ac.in
via Flutter Dev https://ift.tt/2ORc4WE
Reddit: How to connect Flutter and SLIM PHP framework?
I used SLIM PHP framework on my several android projects in native using Retrofit. But on Flutter, I do not know how to connect the app to the API. I understand that we will use Future but cannot find a way to use it with slim. There are articles about Rest API in flutter but their API is unsafe. Any idea how to use it?

Submitted October 27, 2018 at 03:02AM by cassaregh
via reddit https://ift.tt/2qdc18M
Reddit: How to use Google Sign In object & Sign Out method across multiple files?
I'm running into a problem where I have one page dedicated for login and one for settings (which is only visible if a user is signed in). Also, the login widget is pushed off the widget tree and can never be accessed again unless the user is signed out (if my understanding is correct)The same Google Sign In object that is created must be used for handling sign in and disconnection. But if the google sign in object was created in the login class, then it is impossible to for users to log out via the settings page.What are some workarounds I can consider? I've tried passing in one google sign in object to the login page and settings page routes declared in the body of the scaffold.

Submitted October 27, 2018 at 07:00AM by 1234throw5678
via reddit https://ift.tt/2PuBaKi
GGroup: Flutter connectivity plugins not working iOS 12
Hi, Flutter connectivity plugins not working iOS 12. Any help please? *The CODE:* > @override > void initState() { > // TODO: implement initState > super.initState(); > print("************** _checkConnectivity ***************"); > _connectivity = new Connectivity(); > _subscription = >

Submitted October 27, 2018 at 01:02PM by Niyazi Toros
via Flutter Dev https://ift.tt/2JhWQ6W
GGroup: Protobuf Gradle Plugin in android plugin
Hey, For the past 12 hours i have been trying to add protobuf to my android plugin but generated files are filled with errors. It seems that it cannot resolve com.google.protobuf. Also they are generated in example project and not in original Android for flutter. I would really appreciate any

Submitted October 27, 2018 at 01:59PM by Eduard Hasanaj
via Flutter Dev https://ift.tt/2EKfBRN
GGroup: Calling showDialog in didChangeDependencies causes Error: setState() called during build
Greetings, I've been attempting to add a pop-up dialog via showDialog when certain error conditions arise -- in order to inform the user before restarting the application. Right now the presence of an error state is being tracked by an InheritedWidget. Therefore, the natural place to call

Submitted October 28, 2018 at 03:09AM by mi...@treo.co
via Flutter Dev https://ift.tt/2CK4qWO