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

Index in string and list
There is some possibility that the way to do this is added: String lastTwo = value1 [value1.length-2] + value1 [value1.length-1]; like this: String lastTwo = value1 [-2] + value1 [-1]; It is much faster and easier.

March 15, 2021 at 09:40AM by Hekhy
https://ift.tt/3cs1VZs
New post on /r/flutterdev subreddit:

How to work best practise with user specific data from firebase firestore
Hello together,I'm currently diving deeper into NOSQL databases (I'm working with flutter) and I'm really a fan of the official firebase youtube series "Get to know Cloud Firestore" https://www.youtube.com/watch?v=o7d5Zeic63s&list=PLl-K7zZEsYLluG5MCVEzXAQ7ACZBCuZgZ&index=4Because of the many possabilitys im quite unsure to some topics which might look really easy for you guys but I kind a like break my head.Let's say we have the following scenario:there is a dating app where you can like people and there are scores and you can show up the favorites and you have kind a like a list where you can see random 10 profiles.So like alot poeple are saying "Demoralization in NOSQL" is a good approach to work with. Saving parts of data as a duplicate to ensure we don't have to do 2 queries while fetching alot of informations we never would use.For example lets say on the home screen there is a list of 10 men profiles and below that we have a likes count and the 3 recently liked people as small bubbles with their profile pictures. they would be fields from a users collection and it wouldn't be good to call an extra query for the users only to retrive profile image and name field rather than just saving those fields as duplicate with the profiles. as extra field. That seems fine to me.-----------------------------------------------But what happens if we want to show the clients a list of men profiles and see if they have already liked the profile by showing a filled heart or border heart? (Also imagine instagram with the hearts showing if liked or not) How would the approach look like for this and why ?does somebody have a best practise here? This is kinda like user specific data, how would I structure my data and how would the query look like?P.S: Also im not sure how many reads and writes each function takes and what about doc.exists() ?. Is there a way we can say like when we are running examplefuntion() which is retrieving something, that the console says oh hey that was 100 reads 0 writes?P.S: Because im quite a rookie and im watching a lot videos and the documentation im not sure when to use duplicate data and when to use cloud functions. Would be nice if someone could clear things up here.Im really thankful for everyone reading my post here and answering my questions!

March 15, 2021 at 10:28AM by md186
https://ift.tt/3s0AU5K
New post on /r/flutterdev subreddit:

Flutter for a map focused app?
Hello everyone,I'm currently in the process of building a project that needs an app for iOS as well as Android. I already built the backend and the web app, the web app uses React. I initially thought about building both apps with react native, which is not really a feasible option due to the limited map support inside React Native. I then considered building native Apps for both platforms, but since I'm a solo developer on that project, that's really not an option. Since flutter is getting more and more mature and I saw the flutter engage contents, I thought I might check on flutter again. I have some limited experience with flutter and used it to built fairly simple blog style applications in the past.My current project is heavily focused on geo data and maps, so the map will be the core component of the mobile apps. I haven't decided on the map provider yet, but its a decision between Google Maps and Mapbox (as of now, I'd prefer Mapbox).For Google Maps this seems to be the official package by Google, this one seems to be the official Mapbox package. Mapbox already states that their package only exposes a small subset of API methods in its flutter SDK, how is it with Google Maps? How limited are the Packages in terms ofGesture supportDrawing on maps (especially (custom) markers, driving routes and poly lines)Performance (including caching etc)?Maybe someone already has experience building map heavy applications with flutter? Which mapping provider did you use? Did the official package suit your usecase or did you have to build additional functionality for the maps yourself?Maybe someone can share some of their own experiences

March 15, 2021 at 10:06AM by mooo99
https://ift.tt/3bKg6Ka
New post on Flutter Dev Google group:

Can I use two different versions of Flutter on my PC?
Hi! At work we use Flutter 1.22.5, and upper management does not want to upgrade to Flutter 2. But I want to work on some personal projects, using Flutter 2. Can I do that? How? Lautaro Lobo.-

March 15, 2021 at 01:59PM by Lautaro Lobo
https://ift.tt/3rQMPmH
New post on Flutter Dev Google group:

Flutter ui issues
Hi, I'm new to flutter , can you help me to set responsive ui for different mobile screen size (Android and iPhone) , when I run on different mobile devices screen looks different Regards, Navas jaseer

March 15, 2021 at 02:05PM by Navas jaseer
https://ift.tt/3lgtrx7
New post on /r/flutterdev subreddit:

New post on Dart Ternary Operators! 🎉🎉🥳
https://ift.tt/3qX8vMZ

March 15, 2021 at 01:44PM by mukhtharcm
https://ift.tt/3bN7SkA
New post on /r/flutterdev subreddit:

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

March 15, 2021 at 01:28PM by vensign
https://ift.tt/3tnVWfg
New post on Flutter Dev Google group:

How to format this time?
How to format time in seconds? Eg: 24840 like HH:mm:ss

March 15, 2021 at 02:58PM by sona
https://ift.tt/3bLWA00
New tweet from FlutterDev:

💪 Why margins make all the difference.

Watch this video to see how @trainwithPUSH, an advanced strength training wearable, optimizes athletic training and the support that Flutter provides in enabling them to push out new features, faster.

Tune in 📺https://t.co/5l7WoMACBw pic.twitter.com/0bQajtuNU8— Flutter (@FlutterDev) March 15, 2021

March 15, 2021 at 05:11PM
http://twitter.com/FlutterDev/status/1371494335104098308
New post on /r/flutterdev subreddit:

Best State Management
We were using States Rebuilder in our project and I was struggling to understand and piece together information from the sparse documentation until it got a major overhaul couple days back.Now I want to go with a different and a more mainstream solution. What would be a good one in terms of learning curve, ease of implementation?/r/

March 15, 2021 at 05:58PM by zeninmaking
https://ift.tt/3bQ8ea9
New post on /r/flutterdev subreddit:

What is the difference between outputs/flutter-apk and outputs/apk/release builds?
When giving the command to build an apk using flutter build apk we get two folders, one is build\app\outputs\apk\release and another apk in build\app\outputs\flutter-apkWhat is the difference? Which one to use when publishing?

March 15, 2021 at 05:33PM by ustaaz
https://ift.tt/2OzJOJ9
New post on /r/flutterdev subreddit:

groovin_widgets has joined the null safety gang
https://ift.tt/2N84Zkg

March 15, 2021 at 05:26PM by GroovinChip
https://ift.tt/38Hzy8p
New post on Flutter Dev Google group:

Flutter 2.0.1, 2.0.2 hotfixes released to the stable channel
Friends, Last week we neglected to inform you that we released two hotfixes to the stable channel. I personally apologize to you for this; it was my oversight. Here’s the list of changes: Flutter 2.0.2 This fixes the following issues in the framework and Dart. No fixes were applied to

March 15, 2021 at 06:31PM by Ray Rischpater
https://ift.tt/3lkjJJV
New post on /r/flutterdev subreddit:

What Is Going On With firebase_admob?
I can't find it on Pub.dev anymore and it hasn't been updated to use null safety.I know Google Ads was released with Flutter 2 so my immediate thought is that it has been deprecated but I haven't been able to confirm this anywhere.

March 15, 2021 at 07:03PM by azuredown
https://ift.tt/38HCPoy