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

/flutter_localizations.dart'
Hello, I get an underlined error when I want to add "import 'package: flutter_localizations / flutter_localizations.dart';" in main.dart. error message: Target of URI doesn't exist: 'package: flutter_localizations / flutter_localizations.dart'. Try creating the file referenced by the URI, or

March 13, 2021 at 10:59PM by Muti
https://ift.tt/3csvGcv
New post on /r/flutterdev subreddit:

What is your state management preference
I've been trying out different state management tools for Flutter. For react projects I almost always go for redux, I could even say it's become standard for me and I assume for many people.I'm wondering how this is perceived for Flutter. What is your preference for state management and why? Also if your preference changes depending on context, would be nice to hear about it as well.

March 13, 2021 at 10:17PM by Agyieus
https://ift.tt/3crZ6Yl
New tweet from FlutterDev:

💙 Join us as we go live at #FlutterEngage India!

16 local communities in India will come together and host @filiphracek! Tune in to hear exciting #FlutterEngage announcements, updates on Flutter 2, demos and more!

Let's go 👉 https://t.co/qg7MTSqLBC pic.twitter.com/b6ksjGdJ2v— Flutter (@FlutterDev) March 14, 2021

March 14, 2021 at 04:59AM
http://twitter.com/FlutterDev/status/1370947742785286144
New post on /r/flutterdev subreddit:

The `json_helpers` contains functions that make it easier decoding JSON objects directly from strings, lists and maps.
https://pub.dev/packages/json_helpersAllows you to simplify decoding JSON objects directly from `String`, `List` and `Map` values (eg. from request body).```final list = '[{"name":"test1"},{"name":"test1"}]'.decodeJsonList((e) => Data.fromJson(e));print(list[0].name);​final data1 = '{"name":"test1"}'.decodeJson((e) => Data.fromJson(e));print(data1.name);​final data2 = {'name': 'test1'}.fromJson((e) => Data.fromJson(e));print(data2.name);```

March 14, 2021 at 07:51AM by andrew_mezoni
https://ift.tt/3qKwOxw
New post on /r/flutterdev subreddit:

Is there a Flutter State Management tool like Vue's Vuex?
I have worked with Provider and its great. I recently developed a Vue app and used Vuex for State management. It is awesome. I would love to know if there is any Flutter State Management tool like Vue's Vuex?Thanks

March 14, 2021 at 08:32AM by ravgeet
https://ift.tt/3ldiTyA
New post on /r/flutterdev subreddit:

What do you think are flutter's biggest drawbacks right now and do you think the flutter team will be able to solve them in the future?
I'm trying to get into mobile development and flutter seems to tick all the boxes. However, as a beginner, there might be drawbacks that I am not aware of right now and therefore want to hear your opinion on the matter.Thanks!

March 14, 2021 at 09:05AM by Dalcoy_96
https://ift.tt/30JMoi6
New post on /r/flutterdev subreddit:

Retrieve Data for a Leader board in flutter apps with firebase
Im breaking my head up with this question. I didn't find a good solution yet getting for example the top 10 rated movies of the day, of the week, of the month in a smart way from my firebase firestore.Does anybody already made experience with such leaderboard data in his app and has a nice approach how to retrieve that data in a nice way? This seems to be really rare if you do some research on that topic.Im very interested in your solutions!
Already tried something like this which isn't good since we have to do a lot sorting on client: 
QuerySnapshot snapshot = await FirebaseFirestore.instance.collection('tasks').where('dateWhenProofed', isGreaterThanOrEqualTo: 1).orderBy('dateWhenProofed', descending: true).limit(10).get(); snapshot.docs.forEach((document) {Data data = Data.fromJson(document.data());_rankingResult.add(data);_rankingResult.sort((a, b) => b.rating.compareTo(a.rating)); });Everything I tried ends up isn't fine yet or ends up in limitations.

March 14, 2021 at 10:16AM by md186
https://ift.tt/2PWHcoV
New post on Flutter Dev Google group:

how to save a list of data to a variable in flutter dart , please help me im new to flutter
hi, var users = [ {id :3,name : adel,description: agent},{ id :4,name : anu,description: Manager,}, {id:5,name:arun,description:poen} ] here i want to save each json object save in separate variable ,so i can acess it easily, how to do that for (int i =0; i
New post on /r/flutterdev subreddit:

FlutterForce — Week 112
https://ift.tt/38FTCs2

March 14, 2021 at 12:04PM by flutterist
https://ift.tt/3eCFRxS
New post on /r/flutterdev subreddit:

Firebase & Flutter how to structure my data and how avoid high costs by checking if a username already exists
currenty when somebody registers in my app, im providing an Input field which returns if the entered username already exists in the database.
Future getUserName(String userNameFieldInput) { print('userNameFieldInput: $userNameFieldInput'); return FirebaseFirestore.instance .collection('usernames') .doc(userNameFieldInput) .get() .then((value) => value.exists ? true : false) .catchError((error) => print(error)); } 
Im returning true or false and thats totally fine. Im not sure if my database structure is fine for that. I would love to have some recommendations on here. Also how many reads do we have here? IM using the Firestore.
Collection: I-- usernames I I- marcel I I- tim I I------ USERID: true I I-- users I I-- USERID I I-- USERID I I-- name: marcel I I-- gender: male I I-- hobbys: snowboarding I 


March 14, 2021 at 12:01PM by md186
https://ift.tt/3bLYWvM
New post on /r/flutterdev subreddit:

What happened to that IDE made with Flutter?
I remember a while back (10-12 months?) someone was making an IDE with Flutter for Flutter.Does anyone know what happened to it? I don't think there had been any updates in a while.

March 14, 2021 at 12:36PM by mannprerak
https://ift.tt/3tn8jYV
Flutter Engage Extended Mumbai will take place on March 20, 2021, at 20:30 IST. We've invited Flutter experts from around the world to answer your questions and speak with you about various topics throughout this event.

More Details About Flutter Engage Extended Mumbai https://fluttermumbai.dev/#/

We will be Streaming on our Youtube Channel: https://www.youtube.com/FlutterMumbai

Use #AskFlutterMumbai to ask any questions related to new features and updates on Flutter!!

Hashtags and Tags for Flutter Engage Extended Mumbai:
#FlutterEngageMumbai #FlutterMumbai #Flutter
@MumbaiFlutter

Connect with Flutter Mumbai:
Twitter: https://www.twitter.com/MumbaiFlutter
Facebook: https://www.facebook.com/fluttermumbai
Meetup: https://www.meetup.com/Mumbai-Flutter
Telegram: https://t.me/FlutterMumbai
Instagram: https://www.instagram.com/mumbaiflutter/
LinkedIn: https://www.linkedin.com/company/fluttermumbai/
New post on /r/flutterdev subreddit:

How to add app introduction?
I want to add app introduction: I want to add pointing arrows to different widgets and show what they do the first time a user enters an app.

March 14, 2021 at 02:51PM by not-not-lazy-dev
https://ift.tt/3bMJ77W
New post on Flutter Dev Google group:

pub get failed flutter_polyline_points
Because every version of flutter_polyline_points depends on http ^0.12.0+2 and uber_app depends on http 0.13.0, flutter_polyline_points is forbidden. So, because uber_app depends on flutter_polyline_points ^0.2.4, version solving failed. pub get failed (1; So, because uber_app depends on flutter_p

March 14, 2021 at 03:54PM by Y Nguyen Dang
https://ift.tt/30Hduqb
New post on /r/flutterdev subreddit:

Flutter Desktop Skype Chat Box
https://ift.tt/30ImATO

March 14, 2021 at 03:38PM by tledrag
https://ift.tt/3eBUlhz
New post on /r/flutterdev subreddit:

What are the disadvantages of using only Packages in your Flutter App?
There are many good packages on pub dev, is it ok to use only packages to build a flutter app that can be published.Want to known your thoughts on this guys

March 14, 2021 at 03:19PM by Dhanraj_Flutterdev
https://ift.tt/3tjkINi
New post on /r/flutterdev subreddit:

New Flutter Flame Tutorials to Make Mobile Games
Flame is a 2D game framework for Flutter. It is on version 1.0.0-rc8.I've added two new tutorials to my series on FlameIntegrate Flutter Widgets into Flame Mobile Games - shows how easy it is to add Flutter icon buttons to Flame mobile app gamesFlame Audio in Flutter Mobile App Games - flame_audio is a separate package and not included in the base flame packageI also added a "What is Flame and Who is it For" video as an intro to the series.After I received some nice questions, I realized that people might not be familiar with Flame. Here are the basics.Flame is an open source 2D game engine for Flutter.Flame is for people who like Flutter and Dart.There's no real feature advantage using Flame over Unity or Phaser (JavaScript). The only advantage of Flame is that it is the Dart and Flutter workflow.Flame is moving to 1.0 and the documentation and many tutorials may be outdated. If you want to use the pre-release 1.0 Flame framework, these simple tutorials may help you dip your toe into Flame.Performance of Flame is good. Graphics and sprite animation are of the quality you would expect from Flutter apps, which is great IMO.I believe Flame does run on desktop and web in addition to mobile, but I only use Flame on mobileI am building these video tutorials as a hobby as I am sheltering-in-place in California and I enjoy the interaction with people online. Flame is good if you want to learn more about Flutter and Dart.Here are some benefits to learning Flame:As the site documentation is a bit outdated due to the transition to 1.0, you will need to read the source code of the Flame libraries with CTRL-CLICK when you are coding. This is actually a nice way to learn more about constructors which can go pretty deep with Dart.For the same reason as above, you will learn more about mixins and extensions, including ideas on how to write them yourselfif you are new to game development, learning about game development can help you understand and optimize other types of animations in Flutter business apps. This is not a direct connection, but if you understand updates and rendering more deeply, it may give you ideas to improve your business apps and make them more delightful or engaging.The Flame engine and components themselves are great, so if you power-through the sparse documentation problem, then building the app is gratifying because the actual game will be pleasant to use and beautiful.You can also put all those beautiful Flutter widgets into Flame. It feels great to have these pre-built components that just drop in with little effort.Hope everyone is trying to keep motivated and stay positive during COVID health restrictions. It's tough, but let's keep trying our best to improve things.

March 14, 2021 at 03:16PM by codetricity
https://ift.tt/3bMnWmC
New post on Flutter Dev Google group:

when concatenate null value to a string , it shows error how to solve this problem, please help
hi, i have getting the error when am concatenting two strings , how to solve this problem here below the error message shows in console "Unhandled Exception: Invalid argument(s) _StringBase.+ (dart:core-patch/string_patch.dart:267:57)" regards, navas jaseer

March 14, 2021 at 05:27PM by Navas jaseer
https://ift.tt/2OsYRUQ
New post on /r/flutterdev subreddit:

Flutter 2.0, shout out to the Flutter Team!!!
In my over 3 decades work as a developer I have never upgraded my development environment to a major upgrade in such a short period of time. Outstanding!!!I put aside the day to upgrade a large app I've spent the better part of a year working on. After 20 minutes of updating on pub, and 2 small code changes I ran flutter upgrade, and got nervous. I've been running tests for an hour, and now I'm going to play the rest of the day.Again, thank you Flutter Team!!!
PS: I spent 17 years on Delphi 7 because we could never upgrade our entire suite of apps to Delphi 8...10...

March 14, 2021 at 04:50PM by jrheisler
https://ift.tt/3eBCI1m