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
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
Google Codelabs
Firebase for Flutter | Google Codelabs
Flutter is a mobile app SDK for developing high-fidelity apps for iOS and Android. Firebase is Google’s software platform for app backends. In this codelab, you’ll enable Firebase features for a Flutter app.
New post on /r/flutterdev subreddit:
How to do State Management by Dash
https://twitter.com/EsFlutter/status/1113728282128801793
April 04, 2019 at 06:17PM by throw_cs_far_away
https://ift.tt/2HXk0lt
How to do State Management by Dash
https://twitter.com/EsFlutter/status/1113728282128801793
April 04, 2019 at 06:17PM by throw_cs_far_away
https://ift.tt/2HXk0lt
Twitter
FlutterES
Everything you need to know about the state management, by Dash Todo lo que necesitas saber sobre el manejo del estado, por Dash. 🤓🤣 ft. @bouncingsheep @FlutterDev @nlycskn @FlutterComm https://t.co/SomUQHS7DP
New post on /r/flutterdev subreddit:
An example of quiz game built with Flutter
https://github.com/frideosapps/trivia_example
April 04, 2019 at 11:04PM by frideosapps
https://ift.tt/2UuGJuP
An example of quiz game built with Flutter
https://github.com/frideosapps/trivia_example
April 04, 2019 at 11:04PM by frideosapps
https://ift.tt/2UuGJuP
GitHub
GitHub - frideosapps/trivia_example: A simple trivia game built with Flutter and the frideos package.
A simple trivia game built with Flutter and the frideos package. - GitHub - frideosapps/trivia_example: A simple trivia game built with Flutter and the frideos package.
New post on /r/flutterdev subreddit:
Flutter Flare Basics - Let's Build Giphy's Nav Menu
https://www.youtube.com/watch?v=hwBUU9CP4qI
April 04, 2019 at 10:48PM by Purple_Pizzazz
https://ift.tt/2KaPJkW
Flutter Flare Basics - Let's Build Giphy's Nav Menu
https://www.youtube.com/watch?v=hwBUU9CP4qI
April 04, 2019 at 10:48PM by Purple_Pizzazz
https://ift.tt/2KaPJkW
YouTube
Flutter Flare Basics - Let's Build Giphy's Nav Menu
Master the basics of vector animation 🎨🔥 with Flare 2D in Flutter by re-creating the awesome navigation menu from the Giphy mobile app https://fireship.io/lessons/animated-navigation-flutter-flare/
- Flare https://www.2dimensions.com/about-flare
- Flutter…
- Flare https://www.2dimensions.com/about-flare
- Flutter…
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
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
Dart packages
infinite_cards | Flutter Package
An infinite card switching UI for Flutter, support custom animation
New post on /r/flutterdev subreddit:
Pokemon App (Improved)
https://ift.tt/2uNEvbA
April 04, 2019 at 11:33PM by JideGuru
https://ift.tt/2OOrlnW
Pokemon App (Improved)
https://ift.tt/2uNEvbA
April 04, 2019 at 11:33PM by JideGuru
https://ift.tt/2OOrlnW
GitHub
JideGuru/Pokemon-App
Pokemon App with animations, beautiful UI and network call. - JideGuru/Pokemon-App
New post on /r/flutterdev subreddit:
Vidoe Game Messaging App - Part 2 | Flutter UI | Transitions, Custom Material Shape
https://youtu.be/0zevQA26a-8
April 05, 2019 at 04:00AM by prateeksharma1712
http://bit.ly/2uRx2rP
Vidoe Game Messaging App - Part 2 | Flutter UI | Transitions, Custom Material Shape
https://youtu.be/0zevQA26a-8
April 05, 2019 at 04:00AM by prateeksharma1712
http://bit.ly/2uRx2rP
YouTube
Video Game Messaging App | Part 2
Added transition to tabs and cards, created custom material shape and added animation to text styles of tabs.
Dribbble Mock - Video Game Message Board App - https://dribbble.com/shots/6193167-Video-Game-Message-Board-App
Github Link - https://github.co…
Dribbble Mock - Video Game Message Board App - https://dribbble.com/shots/6193167-Video-Game-Message-Board-App
Github Link - https://github.co…
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
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
Google
Google Groups
Google Groups allows you to create and participate in online forums and email-based groups with a rich experience for community conversations.
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
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
Google
Google Groups
Google Groups allows you to create and participate in online forums and email-based groups with a rich experience for community conversations.
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.
April 05, 2019 at 03:47PM by alexandr1us
http://bit.ly/2VqijQm
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
reddit
r/FlutterDev - Unpopular opinion: Flutter UI styling is over-engineered
0 votes and 1 comment so far on Reddit
New post on /r/flutterdev subreddit:
state_persistence | Persist state across app launches.
http://bit.ly/2G1LWCf
April 05, 2019 at 03:37PM by Elixane
http://bit.ly/2Ifu6gB
state_persistence | Persist state across app launches.
http://bit.ly/2G1LWCf
April 05, 2019 at 03:37PM by Elixane
http://bit.ly/2Ifu6gB
Dart Packages
state_persistence | Flutter Package
Persist state across app launches. By default this library store state as a local JSON file called `data.json` in the applications data directory.
New post on /r/flutterdev subreddit:
Flutter + Django + Rest Framework
http://bit.ly/2G1IjfV
April 05, 2019 at 03:33PM by _7wonders_
http://bit.ly/2IfeJoo
Flutter + Django + Rest Framework
http://bit.ly/2G1IjfV
April 05, 2019 at 03:33PM by _7wonders_
http://bit.ly/2IfeJoo
Buzzcat
Flutter + Django + Rest Framework
So a few days ago I made Yet Another Flutter Login (YAFL) which is a nice little starter for working with Firebase login. Sometimes though I like to fall back to good ol’ Django and Python so I did a
New post on /r/flutterdev subreddit:
Solving androidx error in Flutter
http://bit.ly/2If4Kzw
April 05, 2019 at 03:15PM by PedroMassango
http://bit.ly/2Vm5Qgt
Solving androidx error in Flutter
http://bit.ly/2If4Kzw
April 05, 2019 at 03:15PM by PedroMassango
http://bit.ly/2Vm5Qgt
Medium
Solving AndroidX errors in Flutter
As the title suggests In this article I am going to explain how you can resolve Androidx error you are facing in your Flutter project.
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
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
GitHub
flutter/flutter
Flutter makes it easy and fast to build beautiful apps for mobile and beyond. - flutter/flutter
New post on /r/flutterdev subreddit:
Solving androidx error in Flutter
http://bit.ly/2uQlJ3s
April 05, 2019 at 07:09PM by ibhavikmakwana
http://bit.ly/2OOyi8m
Solving androidx error in Flutter
http://bit.ly/2uQlJ3s
April 05, 2019 at 07:09PM by ibhavikmakwana
http://bit.ly/2OOyi8m
Medium
Solving AndroidX errors in Flutter
As the title suggests In this article I am going to explain how you can resolve Androidx error you are facing in your Flutter project.
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
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
reddit
r/FlutterDev - Youtube API
0 votes and 1 comment so far on Reddit
New post on /r/flutterdev subreddit:
33. Adding products to the database (Flutter e-commerce)
https://www.youtube.com/attribution_link?a=KflnzfiEf4o&u=%2Fwatch%3Fv%3DbzWgkBIsNak%26feature%3Dshare
April 05, 2019 at 06:39PM by kibatheseven
http://bit.ly/2D1eo5p
33. Adding products to the database (Flutter e-commerce)
https://www.youtube.com/attribution_link?a=KflnzfiEf4o&u=%2Fwatch%3Fv%3DbzWgkBIsNak%26feature%3Dshare
April 05, 2019 at 06:39PM by kibatheseven
http://bit.ly/2D1eo5p
YouTube
33. Adding products to the database (Flutter e-commerce) : Part 1
copy this code to android - app - build.grade
multiDexEnabled true
=========ADMIN SIDE APP CODE =================
https://github.com/Santos-Enoque/admin_side_flutter_ecommerce_app
==========USER SIDE APP CODE =================
https://github.com/Santos…
multiDexEnabled true
=========ADMIN SIDE APP CODE =================
https://github.com/Santos-Enoque/admin_side_flutter_ecommerce_app
==========USER SIDE APP CODE =================
https://github.com/Santos…
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
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
New post on /r/flutterdev subreddit:
Considering buying an iPhone for testing..
Does it matter which model I get? Any suggestions? I won't be needing it for personal use, so it'll probably be be used.
April 05, 2019 at 08:22PM by AshTheGoblin
http://bit.ly/2FTFX1j
Considering buying an iPhone for testing..
Does it matter which model I get? Any suggestions? I won't be needing it for personal use, so it'll probably be be used.
April 05, 2019 at 08:22PM by AshTheGoblin
http://bit.ly/2FTFX1j
reddit
r/FlutterDev - Considering buying an iPhone for testing..
0 votes and 0 comments so far on Reddit
New post on /r/flutterdev subreddit:
Stateless or Stateful
I’m pretty sure I can get it from stack overflow, but being a experienced Java developer and a week old in Flutter world. I’m trying to understand when to use Stateless or Stateful and also was trying to use Scoped models. So which widgets are the right ones or thumb of rule to chose it as a ScopedDescendant
April 05, 2019 at 07:23PM by Vinfosys96
http://bit.ly/2UjM1dt
Stateless or Stateful
I’m pretty sure I can get it from stack overflow, but being a experienced Java developer and a week old in Flutter world. I’m trying to understand when to use Stateless or Stateful and also was trying to use Scoped models. So which widgets are the right ones or thumb of rule to chose it as a ScopedDescendant
April 05, 2019 at 07:23PM by Vinfosys96
http://bit.ly/2UjM1dt
reddit
r/FlutterDev - Stateless or Stateful
0 votes and 2 comments so far on Reddit