New post on /r/flutterdev subreddit:
Adding documents with same ID to Firestore at the same time
I want to add 2 documents with the same ID to Firestore when doing the following (see code below). I want [2] to have the same document ID as [1], since both are adding the same info to different places in Firestore. Right now, [1] and [2] give me different document IDs. I want to see if it is possible for them to have the same ID. Preferably if [2] can have the same doc ID as [1]. How could I do this? Thanks
May 25, 2021 at 03:28PM by Alvaro-99
https://ift.tt/3flx6Zf
Adding documents with same ID to Firestore at the same time
I want to add 2 documents with the same ID to Firestore when doing the following (see code below). I want [2] to have the same document ID as [1], since both are adding the same info to different places in Firestore. Right now, [1] and [2] give me different document IDs. I want to see if it is possible for them to have the same ID. Preferably if [2] can have the same doc ID as [1]. How could I do this? Thanks
void _sendPost() async {
FirebaseFirestore.instance.collection('post').doc(docX).collection('posts').add({}) [1]
FirebaseFirestore.instance.collection('users').doc(user.uid).collection('userPosts').add({}) [2]
}
May 25, 2021 at 03:28PM by Alvaro-99
https://ift.tt/3flx6Zf
reddit
r/FlutterDev - Adding documents with same ID to Firestore at the same time
0 votes and 2 comments so far on Reddit
New post on /r/flutterdev subreddit:
Stream provider with rest api
Guy's anyone know how to fetch data list for API via stream provider or future provider. I use provider for my state management for a long time mainly in last 2 3 application but it's not give the live data until you not call it's again by user side so I do some research and found about stream provide. But I doesn't know how to use it's for API call I use several technice but nothing worked so anyone know how can fetch data or any article video
May 25, 2021 at 03:27PM by Prashant_4200
https://ift.tt/3i5db2z
Stream provider with rest api
Guy's anyone know how to fetch data list for API via stream provider or future provider. I use provider for my state management for a long time mainly in last 2 3 application but it's not give the live data until you not call it's again by user side so I do some research and found about stream provide. But I doesn't know how to use it's for API call I use several technice but nothing worked so anyone know how can fetch data or any article video
May 25, 2021 at 03:27PM by Prashant_4200
https://ift.tt/3i5db2z
reddit
Stream provider with rest api
Guy's anyone know how to fetch data list for API via stream provider or future provider. I use provider for my state management for a long time...
New post on Flutter Dev Google group:
About In App Purchase...
Hello how are you doing ..! Sir i want to add in app purchase in my app and i am not understanding how can i add.. Dear sir can you tell me that how can i do...or can you provide me the any link of your official video made on in app purchase method....
May 25, 2021 at 04:18PM by Qaim Raza
https://ift.tt/2RLuCtV
About In App Purchase...
Hello how are you doing ..! Sir i want to add in app purchase in my app and i am not understanding how can i add.. Dear sir can you tell me that how can i do...or can you provide me the any link of your official video made on in app purchase method....
May 25, 2021 at 04:18PM by Qaim Raza
https://ift.tt/2RLuCtV
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:
Is customizability more difficult with Flutter than Kotlin?
Hi, I’m looking to build an app on iOS and Android and currently weighing different options (Native vs Flutter vs React Native). I think I’m probably down to Native vs Flutter.I'm fine with one design across Android and iOS but I'd like to have a few custom views and elements (custom date picker, custom calendar view, etc.). I’ve heard widgets mentioned a lot with flutter...does that mean it’s harder to create non-standard views/elements? Or is still faster to create non-standard views with Flutter than it is with Kotlin or Swift because of hot reload and other features?Sorry for the noob question, just trying to get a better understanding. Thanks.
May 25, 2021 at 05:00PM by purecoaster
https://ift.tt/2QVlRNK
Is customizability more difficult with Flutter than Kotlin?
Hi, I’m looking to build an app on iOS and Android and currently weighing different options (Native vs Flutter vs React Native). I think I’m probably down to Native vs Flutter.I'm fine with one design across Android and iOS but I'd like to have a few custom views and elements (custom date picker, custom calendar view, etc.). I’ve heard widgets mentioned a lot with flutter...does that mean it’s harder to create non-standard views/elements? Or is still faster to create non-standard views with Flutter than it is with Kotlin or Swift because of hot reload and other features?Sorry for the noob question, just trying to get a better understanding. Thanks.
May 25, 2021 at 05:00PM by purecoaster
https://ift.tt/2QVlRNK
reddit
Is customizability more difficult with Flutter than Kotlin?
Hi, I’m looking to build an app on iOS and Android and currently weighing different options (Native vs Flutter vs React Native). I think I’m...
New post on /r/flutterdev subreddit:
Codename One's Comparison With Flutter. Misleading?
Codename One is a cross-platform framework that's been around for several years, but I'd only heard about it recently. The official site has a comparison with Flutter that seems to be misleading or even an outright lies, but I'm not knowledgeable enough about Flutter to say for sure. Any thoughts on these claims?"Flutter is an entirely separate VM which means every Flutter app pays the price of two separate VMs communicating among themselves. This means an inherent, permanent overhead in size/performance and portability that can’t be erased. ""Flutter tries to simplify the programming model by removing threading from the equation. While this does make some elements simpler, it makes other things far more cumbersome. Since native code and the physical OS use threading all profiler/debugging data is much harder to work with due to the asynchronous nature of all calls."
May 25, 2021 at 04:35PM by David_Owens
https://ift.tt/3vq4Zxu
Codename One's Comparison With Flutter. Misleading?
Codename One is a cross-platform framework that's been around for several years, but I'd only heard about it recently. The official site has a comparison with Flutter that seems to be misleading or even an outright lies, but I'm not knowledgeable enough about Flutter to say for sure. Any thoughts on these claims?"Flutter is an entirely separate VM which means every Flutter app pays the price of two separate VMs communicating among themselves. This means an inherent, permanent overhead in size/performance and portability that can’t be erased. ""Flutter tries to simplify the programming model by removing threading from the equation. While this does make some elements simpler, it makes other things far more cumbersome. Since native code and the physical OS use threading all profiler/debugging data is much harder to work with due to the asynchronous nature of all calls."
May 25, 2021 at 04:35PM by David_Owens
https://ift.tt/3vq4Zxu
reddit
Codename One's Comparison With Flutter. Misleading?
Codename One is a cross-platform framework that's been around for several years, but I'd only heard about it recently. The official site has a...
New post on Flutter Dev Google group:
Flutter outside project Exception: null. The flutter tool cannot access the file or directory
I'm sorry for my bad english. My problem flutter outside project not run build. Error = Exception: null. The flutter tool cannot access the file or directory. Please ensure that the SDK and/or project is installed in a location that has read/write permissions for the current user. project have
May 25, 2021 at 06:52PM by mehmet emin sayım
https://ift.tt/3fhqif5
Flutter outside project Exception: null. The flutter tool cannot access the file or directory
I'm sorry for my bad english. My problem flutter outside project not run build. Error = Exception: null. The flutter tool cannot access the file or directory. Please ensure that the SDK and/or project is installed in a location that has read/write permissions for the current user. project have
May 25, 2021 at 06:52PM by mehmet emin sayım
https://ift.tt/3fhqif5
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:
is this type of website possible to make with flutter web?
https://ift.tt/34k5ayx
May 25, 2021 at 06:56PM by opinvader
https://ift.tt/3hSd4Ht
is this type of website possible to make with flutter web?
https://ift.tt/34k5ayx
May 25, 2021 at 06:56PM by opinvader
https://ift.tt/3hSd4Ht
Logly
Home | Logly
New post on /r/flutterdev subreddit:
Quick chats backend in Flutter
Hi everyone! I would like to ask you how to quick implement a backend to create chats between 2 or more users on Flutter App. I found some software/web sites but they have a cost, I would like to do it for free but I think I should do it by myself using Firebase, I don't think that 3rd part software (or libraries, frameworks...) allow me to avoid this payload. But I ask, may there's something around...
May 25, 2021 at 06:27PM by _seeking_answers
https://ift.tt/3ul74t9
Quick chats backend in Flutter
Hi everyone! I would like to ask you how to quick implement a backend to create chats between 2 or more users on Flutter App. I found some software/web sites but they have a cost, I would like to do it for free but I think I should do it by myself using Firebase, I don't think that 3rd part software (or libraries, frameworks...) allow me to avoid this payload. But I ask, may there's something around...
May 25, 2021 at 06:27PM by _seeking_answers
https://ift.tt/3ul74t9
reddit
Quick chats backend in Flutter
Hi everyone! I would like to ask you how to quick implement a backend to create chats between 2 or more users on Flutter App. I found some...
New post on /r/flutterdev subreddit:
A Crypto tracker graph app with 0 packages
https://ift.tt/3hScFo9
May 25, 2021 at 06:13PM by lgfdez
https://ift.tt/3ufncwt
A Crypto tracker graph app with 0 packages
https://ift.tt/3hScFo9
May 25, 2021 at 06:13PM by lgfdez
https://ift.tt/3ufncwt
GitHub
GitHub - LuisMaGit/flutter_crypto: A simple crypto tracker Flutter app with cero third party package
A simple crypto tracker Flutter app with cero third party package - GitHub - LuisMaGit/flutter_crypto: A simple crypto tracker Flutter app with cero third party package
New post on /r/flutterdev subreddit:
Don't Provider and BLoC handle different aspects of state management?
Provider is just a wrapper around InheritedWidgets, it allows me to have dependency injections anywhere in my widget tree when I have lifted state up.BLoC lets me create an interface for business logic consisting of sinks and/or streams..I can use provider to inject these into the widget tree.Unless I am missing something obvious here, I don't see why I choose one or the other..unless I use BLoC with InheritedWidget, which seems kinda dumb.
May 25, 2021 at 07:33PM by DIYjackass
https://ift.tt/3oMPKMH
Don't Provider and BLoC handle different aspects of state management?
Provider is just a wrapper around InheritedWidgets, it allows me to have dependency injections anywhere in my widget tree when I have lifted state up.BLoC lets me create an interface for business logic consisting of sinks and/or streams..I can use provider to inject these into the widget tree.Unless I am missing something obvious here, I don't see why I choose one or the other..unless I use BLoC with InheritedWidget, which seems kinda dumb.
May 25, 2021 at 07:33PM by DIYjackass
https://ift.tt/3oMPKMH
reddit
r/FlutterDev - Don't Provider and BLoC handle different aspects of state management?
5 votes and 12 comments so far on Reddit
New post on /r/flutterdev subreddit:
Writing an e-book but storing my book no in sql?
typo: not* in SQLHello! I want to write a book with flutter but I don't think it will be long enough to store mypages in sql db. So I am just thinking of hard coding my book in a collection type like list( maybe it sounds quite stupid) but I am wondering if it is a bad practice and also if it can be revealed to my customers so that they can easily copy my book(I think it will be compiled but does this fact mean they will have difficulty checking what my code will look like easily??)Thanks for your help and answer in advance!
May 25, 2021 at 07:27PM by nimbusmettle
https://ift.tt/3yF9ypC
Writing an e-book but storing my book no in sql?
typo: not* in SQLHello! I want to write a book with flutter but I don't think it will be long enough to store mypages in sql db. So I am just thinking of hard coding my book in a collection type like list( maybe it sounds quite stupid) but I am wondering if it is a bad practice and also if it can be revealed to my customers so that they can easily copy my book(I think it will be compiled but does this fact mean they will have difficulty checking what my code will look like easily??)Thanks for your help and answer in advance!
May 25, 2021 at 07:27PM by nimbusmettle
https://ift.tt/3yF9ypC
reddit
Writing an e-book but storing my book no in sql?
typo: not\* in SQL Hello! I want to write a book with flutter but I don't think it will be long enough to store my pages in sql db. So I am just...
New post on /r/flutterdev subreddit:
Ep. 032 - get() pixel colors and regions | Flutter Processing
https://youtube.com/watch?v=D5I3p2jj9l0&feature=share
May 25, 2021 at 07:19PM by Pixelreddit
https://ift.tt/3fNYNIY
Ep. 032 - get() pixel colors and regions | Flutter Processing
https://youtube.com/watch?v=D5I3p2jj9l0&feature=share
May 25, 2021 at 07:19PM by Pixelreddit
https://ift.tt/3fNYNIY
YouTube
Ep. 032 - get() pixel colors and regions | Flutter Processing
Today in our port of Processing to Flutter we implement get() to query the color of individual pixels and to collect regions of pixels from the screen.
https://github.com/matthew-carroll/flutter_processing
---
Follow:
https://twitter.com/suprdeclarative…
https://github.com/matthew-carroll/flutter_processing
---
Follow:
https://twitter.com/suprdeclarative…
New post on /r/flutterdev subreddit:
Flutter Tutorial - Precache Images & Lazy Loading Images (Cached Network Image) (Johannes Milke)
https://www.youtube.com/watch?v=R9md60dIwd0
May 25, 2021 at 08:56PM by JohannesMilke
https://ift.tt/3vrToOE
Flutter Tutorial - Precache Images & Lazy Loading Images (Cached Network Image) (Johannes Milke)
https://www.youtube.com/watch?v=R9md60dIwd0
May 25, 2021 at 08:56PM by JohannesMilke
https://ift.tt/3vrToOE
YouTube
Flutter Tutorial - Precache Images & Lazy Loading Images (Cached Network Image)
Use Flutter to precache images into your cache with the Cached Network Image before displaying them in your UI.
Click here to Subscribe to Johannes Milke: https://www.youtube.com/JohannesMilke?sub_confirmation=1
👉 12 Week Flutter Training | https://heyflutter.com…
Click here to Subscribe to Johannes Milke: https://www.youtube.com/JohannesMilke?sub_confirmation=1
👉 12 Week Flutter Training | https://heyflutter.com…
New post on /r/flutterdev subreddit:
Flutter Absolute Path with null safety
Hello Guys,I am using this package, https://pub.dev/packages/flutter_absolute_path, the aboslute path, to convert a picture taken by the user to a file.However this package does not support null safety... Is there another way to convert an asset to a file? Or to ignore null safety on just one package?Thanks so much,
May 25, 2021 at 08:34PM by tobiodp12
https://ift.tt/3yEDXnV
Flutter Absolute Path with null safety
Hello Guys,I am using this package, https://pub.dev/packages/flutter_absolute_path, the aboslute path, to convert a picture taken by the user to a file.However this package does not support null safety... Is there another way to convert an asset to a file? Or to ignore null safety on just one package?Thanks so much,
May 25, 2021 at 08:34PM by tobiodp12
https://ift.tt/3yEDXnV
Dart packages
flutter_absolute_path | Flutter Package
A flutter plugin that finds the absolute path of a file in iOS or Android devices.
New post on /r/flutterdev subreddit:
Google maps location
I am making an app with google maps integration, I want users to add a location to the map so other users can see it too (For example a tree or something). How do I do this and what should I use?
May 25, 2021 at 08:26PM by Alexander040618
https://ift.tt/3vkY6h3
Google maps location
I am making an app with google maps integration, I want users to add a location to the map so other users can see it too (For example a tree or something). How do I do this and what should I use?
May 25, 2021 at 08:26PM by Alexander040618
https://ift.tt/3vkY6h3
reddit
Google maps location
I am making an app with google maps integration, I want users to add a location to the map so other users can see it too (For example a tree or...
New post on /r/flutterdev subreddit:
Getting hundrets of problems out of nowhere
Everything in my app worked. I had no problems or errors. But now, out of nowhere, I have more than 700 problems and errors.Screnshot: https://imgur.com/a/FIvk0wRLike "Missing type arguments for generic type 'MaterialPageRoute<dynamic>'.
Try adding an explicit type, or remove implicit-dynamic from your analysis options file. "This never was an issue before. Can sbd pls tell me why there are so many problems out of nowhere?
May 25, 2021 at 11:22PM by Codeopold_007
https://ift.tt/3um7C1V
Getting hundrets of problems out of nowhere
Everything in my app worked. I had no problems or errors. But now, out of nowhere, I have more than 700 problems and errors.Screnshot: https://imgur.com/a/FIvk0wRLike "Missing type arguments for generic type 'MaterialPageRoute<dynamic>'.
Try adding an explicit type, or remove implicit-dynamic from your analysis options file. "This never was an issue before. Can sbd pls tell me why there are so many problems out of nowhere?
May 25, 2021 at 11:22PM by Codeopold_007
https://ift.tt/3um7C1V
Imgur
Flutter errors
more than 700 errors out of nowhere
New post on /r/flutterdev subreddit:
An all-around ScrollingView widget for the web
I was tinkering with the flutter web to see if it is good for making a website. I faced the problem of scrolling like everyone else. I tried to create a "SingleChildScrollView" replacement that has web-like scrolling abilities such as;No dragging with the mouseScroll animationScrollbarI think what I have is pretty good. I want to know if this has been done before. If it is, I would like to use it or, even better, contribute to it. If it is not, I want people to know about this because this is a fundamental need.I also want to know your opinions of it. What can be improved? What are the pitfalls?Code: WebSingleChildScrollViewGIF: SingleChildScrollView vs WebSingleChildScrollView (The first one is draggable with the mouse pointer, the second one isn't)
May 26, 2021 at 01:02AM by plusturk
https://ift.tt/3fjdHba
An all-around ScrollingView widget for the web
I was tinkering with the flutter web to see if it is good for making a website. I faced the problem of scrolling like everyone else. I tried to create a "SingleChildScrollView" replacement that has web-like scrolling abilities such as;No dragging with the mouseScroll animationScrollbarI think what I have is pretty good. I want to know if this has been done before. If it is, I would like to use it or, even better, contribute to it. If it is not, I want people to know about this because this is a fundamental need.I also want to know your opinions of it. What can be improved? What are the pitfalls?Code: WebSingleChildScrollViewGIF: SingleChildScrollView vs WebSingleChildScrollView (The first one is draggable with the mouse pointer, the second one isn't)
May 26, 2021 at 01:02AM by plusturk
https://ift.tt/3fjdHba
Pastebin
web_single_child_scroll_view - Pastebin.com
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
New post on /r/flutterdev subreddit:
Architecture Patterns for Flutter Applications
I am looking for advice on how to structure my application directories. I want other people on my team and also my future self to be able to find the correct files to modify in the future. Are there common models, articles, maybe even a book that I can read to help me to plan out my directory structure? I am using provider for state management and it is okay. I don't feel a need to move off of it. However, I'm also not against moving off of it.I currently have this structure:guimodelnetworknotifiersI am building a front-end image management system for network images that I am pulling with http GET. I need to make many POST requests to get the desired images. The API to get the images is extensive with hundreds of options.Under gui, I have:componentsscreensI feel like I am stumbling around in the dark and that some smart people have cookbook-style examples of how I can organize my code. Does this exist somewhere?I am thinking of changing the names as follows:modelclass for image fields such as name, url, byte data for thumbnailviewcomponents (like a button)screenswindows (a portion of a screen)controllernotifiers (I'm using provider with ChangeNotifier)network (http requests)many folders with different types of API requestsIf I follow this organization, I'm not sure what to put into model.I'm practicing with smaller mobile and desktop apps first before we move to a more complex system with Firebase on the backend. We've been stuck with designing a good cloud architecture for a year. We've made lot of progress, but I've always felt that we shouldn't move our system to the cloud due to lack of a good architecture.
May 26, 2021 at 12:26AM by cloudster314
https://ift.tt/2QQgT4D
Architecture Patterns for Flutter Applications
I am looking for advice on how to structure my application directories. I want other people on my team and also my future self to be able to find the correct files to modify in the future. Are there common models, articles, maybe even a book that I can read to help me to plan out my directory structure? I am using provider for state management and it is okay. I don't feel a need to move off of it. However, I'm also not against moving off of it.I currently have this structure:guimodelnetworknotifiersI am building a front-end image management system for network images that I am pulling with http GET. I need to make many POST requests to get the desired images. The API to get the images is extensive with hundreds of options.Under gui, I have:componentsscreensI feel like I am stumbling around in the dark and that some smart people have cookbook-style examples of how I can organize my code. Does this exist somewhere?I am thinking of changing the names as follows:modelclass for image fields such as name, url, byte data for thumbnailviewcomponents (like a button)screenswindows (a portion of a screen)controllernotifiers (I'm using provider with ChangeNotifier)network (http requests)many folders with different types of API requestsIf I follow this organization, I'm not sure what to put into model.I'm practicing with smaller mobile and desktop apps first before we move to a more complex system with Firebase on the backend. We've been stuck with designing a good cloud architecture for a year. We've made lot of progress, but I've always felt that we shouldn't move our system to the cloud due to lack of a good architecture.
May 26, 2021 at 12:26AM by cloudster314
https://ift.tt/2QQgT4D
reddit
Architecture Patterns for Flutter Applications
I am looking for advice on how to structure my application directories. I want other people on my team and also my future self to be able to find...
New post on /r/flutterdev subreddit:
Generic Pagination + Data Handling Class in Flutter
https://ift.tt/3fjiFVh
May 26, 2021 at 02:11AM by ben_dev_
https://ift.tt/2QS0mgB
Generic Pagination + Data Handling Class in Flutter
https://ift.tt/3fjiFVh
May 26, 2021 at 02:11AM by ben_dev_
https://ift.tt/2QS0mgB
Medium
Flutter Pagination Class
Paged data is a common need for most app interfaces such as infinite scroll/list views. Implementation time can be reduced by using a generic class.
New post on Flutter Dev Google group:
NoSuchMethodError: The setter 'pincode=' was called on null.
Hi, I have a form with 3 pages, What I am currently doing is storing the data of each field of the form in sharedpreferences. At the end of the form, I want to move that data to a function which will ultimately prepare a map to save the form in the database and create an entry. However, I face
May 26, 2021 at 03:49AM by Ameya Paranjape
https://ift.tt/3yxiiOy
NoSuchMethodError: The setter 'pincode=' was called on null.
Hi, I have a form with 3 pages, What I am currently doing is storing the data of each field of the form in sharedpreferences. At the end of the form, I want to move that data to a function which will ultimately prepare a map to save the form in the database and create an entry. However, I face
May 26, 2021 at 03:49AM by Ameya Paranjape
https://ift.tt/3yxiiOy
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:
Flutter Book Reading App UI Building with Audio Player | Part 1 Crash Course for Beginners App Dev
https://youtu.be/cn2Yydm_7_8
May 26, 2021 at 03:28AM by DBestech
https://ift.tt/3voxo71
Flutter Book Reading App UI Building with Audio Player | Part 1 Crash Course for Beginners App Dev
https://youtu.be/cn2Yydm_7_8
May 26, 2021 at 03:28AM by DBestech
https://ift.tt/3voxo71