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

Bloc and Animations
Hi, is there any example how to make an animation controller with a stream? I have ValueObservable get isTransfering => _isTransferingSubject.stream; final _isTransferingSubject = BehaviorSubject(); and want to have an animation with a sync icon (if isTransfer==true--> rotating, if

April 04, 2019 at 11:20AM by Frank Weißenborn
https://ift.tt/2CXQKH1
New post on Flutter Dev Google group:

Flutter Developer Certification
Hello everyone, Can you help with a link to get a "Flutter Developer Certification", if any? Thanks Abner (from Colombia)

April 04, 2019 at 05:49PM by Abner Hernandez
https://ift.tt/2G09lnD
New post on /r/flutterdev subreddit:

Problem/issues I want to talk about. Firestore related
Hey everyone. I hope this wont get deleted. most of my posts do on this sub-reddit. To rule number two, I am not technically asking for help. I am wanting to talk about a design.Using the cloud_firestore plugin, we are given a cache. When we do a query, the query resultant is saved into the cache. Now, when we execute the same query. We retrieve the result from out cache as expected but there is a limit and we need to talk about this limit. The limit is 30 minutes. You can only use cache content for 30 minutes while ONLINE. When you are offline, you are allowed to use previously caches queries.So lets say, i load 50 documents throughout my app(different page routes). For the next 30 minutes, we can keep going through the app to get those 50 documents(havent changed and they are static). After 31 minutes, the queries will be issues as brand new query and will be charged(an additional charge of 50 reads) for the OLD 50 DOCUMENTS(that havent changed).I google this issue, some people are mentioning and the only replies that they get is, always something along the lines of, "please post your code, this shouldnt be happening".Very easy code to replicate, a tutorial from google themselves: https://codelabs.developers.google.com/codelabs/flutter-firebase/index.html?index=..%2F..index#10All youtube video showing off how to use cloud firestore, i ran their code and same issue.How to fix this? I am coming up with a plan of disabling firestore persistence and create my own cache with sqflite. Provide last_updated time stamps in documents. Design queries where they run queries of new documents updated by last_updated field. Whenever a new document has been updated, a listener will fire on client side and download the document. Then I use this documents ID to update my saved document in SQFlite.Do I have to do this, or there is no bug and only affects me?​I have used BLoC pattern, google tutorial pattern of multiple widgets where streambuilder is at top most ... etc.​Is this acceptable? A user looking at profiles of his/her friends on their phone. Lets say this user is looking through 50 of his friends profiles(1 BY 1) 3 times a day spaced 2 hours apart. thats about 150 reads per day while it should be only 50 for the initial download and read from cache IF NO CHANGES.​I do have pagination enabled where I have a limit of 10 documents per page. But who cares when a user will always open the app 4-5 times throughout the day at spaced more than 30 minutes apart causing new queries causing more reads(downloads as well, waste of bandwidth from user point of view)​some links of others raising issue: cant find them all for nowhttps://stackoverflow.com/questions/51317606/how-do-i-store-a-firestore-document-locallyhttps://stackoverflow.com/questions/55013944/cloud-firestore-keeps-re-downloading-documents-flutter

April 04, 2019 at 06:31PM by Bk_ADV
https://ift.tt/2uIMXZL
New post on /r/flutterdev subreddit:

Infinite card switching UI for Flutter, supports custom animation
https://ift.tt/2FPrrbU

April 04, 2019 at 10:48PM by Purple_Pizzazz
https://ift.tt/2KaPNBc
New post on Flutter Dev Google group:

Snapchat like Video and Image Editing
Hello everyone, I am working on an application and I need to implement snapchat like features of an image and video editing like adding stickers, freehand drawing, adding text, image filter, and video editing. How can I do these things in the flutter? Is there any plugin or something that can

April 05, 2019 at 09:32AM by Ravi Shankar Singh
http://bit.ly/2CW1Zjm
New post on Flutter Dev Google group:

Hotjar for Flutter
Hello guys, you know some plugin that does the same or similar work Hotjar for Flutter?

April 05, 2019 at 02:06PM by Tiagosito
http://bit.ly/2YRTCyw
New post on /r/flutterdev subreddit:

Unpopular opinion: Flutter UI styling is over-engineered
I believe this post will be long lost in downvote hell but I need to speak out.I honestly don't understand writing so much code just to get why circular border. Dart, tabs=4 Card( shape: RoundedRectangleBorder( borderRadius: BorderRadius.all(Radius.circular(10.0)), ), color: Colors.grey.shade500, child: _buildImageContainer());Why does Flutter has so many buttons? Why not just create one simple button which has just type variable or something?RaisedButton, a filled material design button with a shadow.FlatButton, a material design button without a shadow.DropdownButton, a button that shows options to select from.IconButton, to create buttons that just contain icons.Also writing wrapping Button into ButtonTheme just to set width? Dart, tabs=4 ButtonTheme( minWidth: double.infinity, child: OutlineButton( child: Text(date == null ? 'Select Time and Date' : dateTimeFormatter.format(date)), onPressed: () { _selectDate(); }), )Oh one of my favorites FocusNode(). Why not just have focus function in TextEditingController? final focusNode = FocusNode();Even Flutter engineers from Google have hard time styling components (The Boring Flutter Show).This is not about UI but The Dart package manager is straight up terrible with its dependency hell. Whenever I want to update one library I get errors like Library B depends on version this. I update library B after I get library C error etc etc.P.S It's fine to critic one framework or another and it's not like Google is development god who does everything the best way there is.

April 05, 2019 at 03:47PM by alexandr1us
http://bit.ly/2VqijQm
New post on Flutter Dev Google group:

I can't upgrade to latest version of flutter, no error but stuck on 1.2.1
Hello, I'm on the stable channel and can't update flutter. chendeAir:~ doudou$ flutter upgrade Upgrading Flutter from /Users/doudou/development/flutter... Already up to date. Upgrading engine... Already up-to-date. Flutter 1.2.1 • channel stable • http://bit.ly/2dbZsVl

April 05, 2019 at 04:54PM by Naim Abu Darwish
http://bit.ly/2YRJuFZ
New post on /r/flutterdev subreddit:

Youtube API
Hey guys, i'm new to flutter,
was trying to find a way to integrate youtube api on my app but 0 content online on how to do it.
youtube asks me if my ap is ios or android, well it's both right?
i choose android to try and do the android part first but it asks me for a fingerprint that i don't know how to generate. any hints?ps. i'm also having some trouble changing:
name of app
package name
icon of app

April 05, 2019 at 06:53PM by OCapitalista
http://bit.ly/2OQu5RD
New post on Flutter Dev Google group:

new embedder.h contains definitions, causes errors
Hi, Recent versions of the embedder.h contain definitions, for example: const int32_t kFlutterSemanticsNodeIdBatchEnd = -1; This causes errors when including the header file from multiple sources. # github.com/go-flutter-desktop/go-flutter/embedder /tmp/go-build120171812/b036/_x003.o:/home/geer

April 05, 2019 at 07:34PM by Geert-Johan Riemer
http://bit.ly/2FSr4MD