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

Android studio vs VS?
Which do you use for flutter and why? If you code on an M1 mac , which do you use?

January 21, 2022 at 02:58AM by Madridi77
https://ift.tt/3KuAHBH
New post on /r/flutterdev subreddit:

What are some widgets you like most in flutter?
Widgets that YOU find useful.

January 21, 2022 at 05:42AM by The-Hated_One
https://ift.tt/3rzFqJH
New post on /r/flutterdev subreddit:

Xcode and AndroidManifest.xml modification is getting out of hand
I love flutter and all and normally, I wouldn't mind to add one or two copy paste code to make sure my app working on android and ios.However, it start getting out of hand once the app grow and I need to use multiple plugin like notification, sign in, download, audio etc that each one of them require to modify native code, podfile or settings. Especially removing a library that I added 6 months ago that probably leave some settings in AndroidManifest.xml or xcode that I'm not dare to remove because other plugin might require the same settings. My current solution is once in a while I recreate ios and android folder then manually go through all of my pub library to add the modification as they require.is there a better way?

January 21, 2022 at 05:23AM by chaucao-cmg
https://ift.tt/3AieMZR
New post on /r/flutterdev subreddit:

Localize your Flutter packages
https://ift.tt/3rCpsOV

January 21, 2022 at 11:38AM by dtengeri
https://ift.tt/32kEEYl
New post on /r/flutterdev subreddit:

App Feedback Thread - January 21, 2022
This thread is for getting feedback on your own apps.Developers:must provide feedback for othersmust include Play Store, App Store, GitHub, GitLab, or BitBucket linkmust make top level commentmust make effort to respond to questions and feedback from commentersmay be open or closed sourceCommenters:must give constructive feedback in replies to top level commentsmust not include links to other appsTo cut down on spam, accounts who are too young or do not have enough karma to post will be removed. Please make an effort to contribute to the community before asking for feedback.As always, the mod team is only a small group of people, and we rely on the readers to help us maintain this subreddit. Please report any rule breakers. Thank you.- r/FlutterDev Mods

January 21, 2022 at 03:00PM by AutoModerator
https://ift.tt/3nNLzB0
New post on /r/flutterdev subreddit:

Do you think Flutter is going to be stable and a wise choice for Web Dev anytime soon ?
I'm mainly interested in mobile dev. and i'm thinking to pick up a cross platform framework. I'm confused between React Native and Flutter (Dart). i am more attracted to React Native because i'd also like to build some web apps. and i know it's the more suitable option for that. especially that i don't have enough time to learn both of them. it would've been so good if flutter can be good for both.

January 21, 2022 at 02:57PM by Darwin105
https://ift.tt/3FImm0U
New post on /r/flutterdev subreddit:

Which lesser known widget you wished more people knew about/used?
You can name that widget and provide a short description and usecase for it.

January 21, 2022 at 03:34PM by lightyfraze
https://ift.tt/3KwVTXF
New post on /r/flutterdev subreddit:

A Flutter Framework
A Flutter framework that works with Flutter, works like Flutter and not unlike Flutter.https://andrious.medium.com/a-framework-for-flutter-3a4a358f5d26

January 21, 2022 at 07:13PM by gtfperry
https://ift.tt/3rKO7kC
New post on /r/flutterdev subreddit:

Ar Flutter Plugin
Hello guys, did everyone here used flutter plugin "ar_flutter_plugin`" ? or maybe other AR solution for flutter - the important thing for me is to use Google Cloud Anchors, any advise ?

January 21, 2022 at 06:52PM by Apostezjon
https://ift.tt/3rxsvru
New post on /r/flutterdev subreddit:

A Framework for Flutter
https://ift.tt/32kpZMO

January 21, 2022 at 08:00PM by gtfperry
https://ift.tt/3FPaNFd
New post on /r/flutterdev subreddit:

Activity Recognition in Background using Flutter
Hi Everyone,I want to implement activity recognition in background that means if user close the application even then it'll listening the activity recognition states whether it is in IN VEHICLE, STILL or in which state.I already tried activity_recognition_flutter: ^4.2.0 package to implement this -> Everything is working fine except in background it is not working when I close the application.I want to implement it in Android & iOS both and my current focus is Android primarily.Can anyone guide with his/her experience if he/she knows how to do it.
Thank you !

January 21, 2022 at 08:57PM by piyushlimited
https://ift.tt/3qPzZqY
New post on /r/flutterdev subreddit:

fork of system_info released
For users of the system_info package, you may be aware it has been marked as discontinued.Given the criticality of this package (and onepub.dev's usage of it), we have made the decision to fork the project.You can now find a supported version of system_info under the name system_info2.Thanks to onepub.dev management for allowing me the time and resources to manage this.

January 21, 2022 at 09:41PM by bsutto
https://ift.tt/3fJlgY8
New post on /r/flutterdev subreddit:

Flutter Supabase Authentication
Is it possible to stay signed in forever? You can specify how long the "tokens" are valid at the supabase configuration UI.Cant I restore the session after the entered value like max value of one week and my users have to login again after one week?Currently Im calling restore session on startup and using the dart-only lib.
@override Future<AppUser> getCurrentUser() async { var user = _supabaseClientService.get().auth.currentUser; if (user == null) { var session = await _getSession(); var response = await _supabaseClientService.get().auth.recoverSession(session); if (response.error == null) await _saveSession(); user = response.user; } return AppUser( user?.id, user?.email, user?.email, ); } 


January 21, 2022 at 10:47PM by KaiN_SC
https://ift.tt/3qPQQtK
New post on /r/flutterdev subreddit:

Do providers have callbacks? I've been struggling with the best practice for this scenario all day
This is my simple ChangeNotifier:
class Settings extends ChangeNotifier{ void changedSettings(){ notifyListeners(); } } 
I have this in my build method:
Provider.of<Settings>(context); 
and the widget rebuilds as expected when I call a function that calls notifyListeners in Settings. However, I only want to run an expensive data reload if the rebuild was because of the Provider, and not because some other Flutter management reason.My ideal solution to this is I can register some sort of callback function when I register the Provider.of in my build method...for example:
Provider.of<Settings>(context).withCallback(this._getData(this.state_settings)); 
Instead, what I am doing now is:
class Settings extends ChangeNotifier{ late int lastChange; Settings(this.lastChange); void changedSettings(){ lastChange = DateTime.now().microsecondsSinceEpoch; notifyListeners(); } } ... int lastChange = Provider.of<Settings>(context).lastChange; if(lastChange != lastSettingsChange){ lastSettingsChange = lastChange; _getDataFuture = getData(); } 


January 22, 2022 at 01:38AM by natural_language_guy
https://ift.tt/3qS3VTn