Flutter Heroes
26.1K subscribers
272 photos
2 videos
31.1K links
Download Telegram
New post on /r/flutterdev subreddit:

Narrowing down the post quality on r/FlutterDev
According to a recent post, it appears the moderation standard we try to apply is not high enough for this subreddit.In scope of these discussions, we have created a form to try and understand the post quality standard you would like to see, and attempt to turn these into guidelines.Please fill the form with URLs to posts you would like to see removed, you can also justify your reasoning if you so desire.​https://docs.google.com/forms/d/e/1FAIpQLSeiJnkW76jgJMxK65d6gyWHtI_f4BTKrd7L1w0zxZiLbuJL6A/viewform?usp=sf_link

September 25, 2021 at 05:33PM by miyoyo
https://ift.tt/3kETlf6
New post on /r/flutterdev subreddit:

Flutter vs Dart Style Guide: Which do you choose?
I recently started learning Flutter and Dart. As a part of my language learning process I usually like to search for the relevant style guide to read so I can learn what idiomatic code in the language/framework looks like.I came across something interesting with Flutter though: there’s a guide for it and for Dart, and they appear to be in opposition to one another. For example, Flutter prefers Hungarian notation while Dart does not.Which guide, if either, are people following? I’m keen in going with the Flutter one since I’m learning, and planning on working mostly, with Flutter, but the Flutter UI toolkit is written in Dart, so using that style guide also seems right.

September 26, 2021 at 03:20AM by No_Benefit8574
https://ift.tt/3kNB2op
New post on /r/flutterdev subreddit:

Update on My Chat App using MQTT Protocol.
Hello,Recently I posted my Repo of a Flutter application that uses MQTT Protocol as chatting protocol.Thank you for your nice words, and special thanks to those who raised issues.Some of you asked why not Firebase like 99% of online tutorials and packages. Those are some of my motivations:Price, Firebase could be really expensive if the app grows in the future.On-premise solution. Messages are sensitive data, and storing them on the cloud could not be a good option for enterprises.MQTT is quite a universal protocol which already used in different fields. Using MQTT spares you from the instability due to multipe updates of Firebase packages...And well... to give another choice to the community is a good thing :)I am thinking to do some cleansing and publish the core features as a package on pub dev. Before doing that I need you to evaluate the work and try it out, any feedback is welcome.This is the repo on GitHub.

September 26, 2021 at 12:11PM by Coffee__2__Code
https://ift.tt/3o9JOPy
New post on /r/flutterdev subreddit:

Released open_route_service package, an encapsulation made around OpenRouteService API for Dart and Flutter projects. The goal is to allow easy integration of the OpenRouteService API for the generation of Routes and Directions on Maps, Isochrones, Time-Distance Matrix, Elevation, etc using it. :)
https://ift.tt/39DUxJx

September 26, 2021 at 12:03PM by Dhim13
https://ift.tt/2XTkhiX
New post on /r/flutterdev subreddit:

FlutterForce — Week 139
https://ift.tt/3oeo45b

September 26, 2021 at 11:41AM by flutterist
https://ift.tt/3ispNAb
New post on /r/flutterdev subreddit:

Making a login screen do I create the firebase first or later.
Hi I was needing to know if making the firebase system after building the app in flutter

September 26, 2021 at 05:29PM by Soft-Tailor-4606
https://ift.tt/3zHQhU2
New post on /r/flutterdev subreddit:

How to start building a social media app
Hi I am brand new to making apps in flutter, I have done tutorials and read through most of the information, it’s a lot to absorb but I am asking what should be done first and how should I make a flutter app that requires being made in ios and android

September 26, 2021 at 05:27PM by Soft-Tailor-4606
https://ift.tt/3ubQQUI
New post on /r/flutterdev subreddit:

Tools and improvements for DX and testing. What do you use?
Hi All,I have been recently working on certain tools to help improve my own workflow for flutter and for architecture in general and this got me curious. What do you guys use?The things I am interested in are the followingHow do you ensure good code quality?Are you guys using git hooks or something similar?What does your CI/CD pipeline consist of?Do you guys have any specific testing strategies?What tools do you use for debugging and logging?How do you ensure analytics-related code is not entangled with business logic?How do you manage different environments? (Staging, Production, etc)
I think in general it's things like what do you do to ensure a scalable code base that is architecture agnostic?

September 27, 2021 at 09:09AM by ibrahim_mubarak
https://ift.tt/2XV8NeP
New post on /r/flutterdev subreddit:

Flutter Tap Weekly Newsletter Week 104 - Tutorials, videos, packages, and much more!
https://ift.tt/3iaYyda

September 27, 2021 at 03:05PM by vensign
https://ift.tt/3kMgAnQ
New post on /r/flutterdev subreddit:

The getter 'documents' isn't defined for the type 'QuerySnapshot<Map<String, dynamic>>'
The type 'List<QueryDocumentSnapshot<Map<String, dynamic>>>' used in the 'for' loop must implement 'Iterable' with a type argument that can be assigned to 'Map<dynamic, dynamic>'.dart(for_in_of_invalid_element_type) Changed from this code:
class CategoryServices { String collection = "categories"; Firestore _firestore = Firestore.instance; Future<List<CategoryModel>> getCategories() async => _firestore.collection(collection).getDocuments().then((result) { List<CategoryModel> categories = []; for (DocumentSnapshot category in result.documents) { categories.add(CategoryModel.fromSnapshot(category)); } return categories; }); } 
To this, but getting an error. Where did I go wrong?
class CategoryModel { String? image; String? name; CategoryModel({this.image, this.name}); // receiving data from server factory CategoryModel.fromMap(map) { return CategoryModel(image: map['image'], name: map['name']); } // sending data to our server Map<String, dynamic> toMap() { return { 'image': image, 'name': name, }; } } class CategoryServices { String collection = "category"; FirebaseFirestore _firestore = FirebaseFirestore.instance; Future<List<CategoryModel>> getCategories() async => _firestore.collection(collection).get().then((result) { List<CategoryModel> categories = []; for (Map category in result.docs) { //error at this line categories.add(CategoryModel.fromMap(category)); } return categories; }); } 


September 27, 2021 at 02:33PM by vaishu1005
https://ift.tt/3idCmPE