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

typo in sliverappbar
https://ift.tt/33kl1N4 shadowColor → Color? The of the shadow below the app bar. [...] ^^

May 07, 2021 at 12:34PM by Kevin Chadwick
https://ift.tt/3epnhc4
New post on /r/flutterdev subreddit:

Riverpod globals act like.....globals. In this case at least.
What am I doing wrong, or have I really found a riverpod flaw? And maybe it isn't a flaw, it's just me and my bad architecture. :)(Disclaimer: I'm not a flutter expert at all. I don't know the inner workings of flutter.Also, I totally can see that maybe I need to be using the traditional providers, but unhappily my code-base already mixes in a lot of riverpod, but I haven't worked out how to use both old Providers and riverpod in the same dart file. And of course I would like to do this the new way if possible.)I have a custom widget MyPage and it's composed of other custom widgets. MyPage is instantiated twice with a parameter passed to the constructor isTrashView the second instance is nearly the same as the first but with isTrashView=true and so greyed out items etc.Now for this the custom sub-widgets need to know the value of isTrashView but don't have access to it unless I pass it to their constructors as well, but that's messing about with a whole lot of constructors, ugh!So the traditional way is :
class MyPage extends StatelessWidget{ bool isTrashView; MyPage(this.isTrashView); Widget build(context){ return Provider<bool>.value( value : isTrashView, child : MyCustomListWidget(/*don't need an isTrashView parameter here*/), ); } } class MyCustomListWidget extends StatelessWidget{ Widget build(context){ bool isTrashView=Provider<bool>.of(context).value; return AnotherCustomWidget(/*no need for isTrashView param here either*/), &etc........ } } 
...and each instance of the MyPage widget gets its own unique provider and so instance of the bool.Since riverpod uses globals for the providers, I can't set up unique providers in the two page instances to be read by some sub-widget as they would be sharing the provided bool and overwriting each other's data.I also can't see how the family modifier would help. I can see family helping to index in to the same list of objects but not for this.

May 07, 2021 at 01:22PM by itsastickup
https://ift.tt/3nWElcG
New post on /r/flutterdev subreddit:

App Feedback Thread - May 07, 2021
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

May 07, 2021 at 03:00PM by AutoModerator
https://ift.tt/3uvm1tz
New post on /r/flutterdev subreddit:

Pagination
gimme your opinions. what's the best way to do paginate in flutter?and if there any resources you recommend

May 07, 2021 at 03:52PM by Abdallah-al-hallak
https://ift.tt/33q3bs6
New post on /r/flutterdev subreddit:

Flutter GraphQL: Quick Start
This quick start is the first article in a series that helps Flutter developers get started with GraphQL.https://seanconnolly.dev/flutter-graphql-quick-start-with-fauna

May 07, 2021 at 05:06PM by Secret_Increase6198
https://ift.tt/3hdcqno
New post on /r/flutterdev subreddit:

Complete ui resources and assets path ?
Guys is there any resources where we can get complete information about the colour and fontsMeans color for dark theme or light theme like - background colour - surface colour - app bar colour - bottom bar colour - cards colour - container colour - fonts colour etcSimilar for fontsTitle fontsheading fontstext fontsspecial label fontsAlso some high quality open source ui assets like logo which I place inside the application like landing page or auth screenI tried to build a UI interface but my color and fonts taste are really really bad So it's is really helpful for me If I get complete guide or resources

May 07, 2021 at 04:41PM by Prashant_4200
https://ift.tt/3vPTAXu
New post on /r/flutterdev subreddit:

vscode on d drive, not c drive + linking .gradle and gradle 7.0 file with vscode on d drive
hi, i am a noob programmer trying to start coding, i am planning on using dart and i am having trouble even installing the software properly, so i created a new flutter project on cmd, yes it does create a file and it does open on vscode, however, i want it on the d drive, not c drive, because all my flutter, vs code, gradle, sdk file is on the d drive. Even when i created it on vscode using command palette, yes it does locate where i wanted, but its not linking with the d drive, it is still linking with c drive like the .vscode extension, .gradle. which they have created by their own.The reason why i want it on d drive it that i have no more space on c drive, Also i need the SHA key for firebase, it always shows failed, it does not locate the gradle file on the d drive.- I did the Path environment variables properly- i did reinstall vscode in d drive- I did relocated .gradle, sdk, .java, . vscode, .android and gradle into d drive.thanks for reading this and please help :) even google won't help me find the answer

May 07, 2021 at 04:21PM by needhelpcoding247
https://ift.tt/3nUWZSh
New post on /r/flutterdev subreddit:

Any flutter dev in Mangalore, India?
Hello, Im looking for a flutter developer in Mangalore, India to join my startup.My startup team is developing a social media app in flutter. As the app is getting bigger, we are in need of another developer for backend and flutter. Any backend experience along with flutter dev experience is appreciated. Potential to be a co-founder.Students are prefered but should reside in or around Mangalore, India.

May 07, 2021 at 05:32PM by Cannonzue
https://ift.tt/3eWQr1k
New post on /r/flutterdev subreddit:

Flutter GraphQL: Quick start
https://ift.tt/3tmOLDu

May 07, 2021 at 07:08PM by Secret_Increase6198
https://ift.tt/3f1gDbc
New post on /r/flutterdev subreddit:

Sending requests between users.
Hello everyone,I'm new to flutter and am working on a ride sharing app where users can request rides from drivers. I'm trying to figure out the best way to send requests from a user to a driver and visa versa. I haven't been able to find many resources about user to user requests online. Does anyone know what the best way to implement this user to driver (user) communication? I have google firestore connected to my app and I've thought doing something similar to a messaging app where I would create a collection of requests, but I'm not sure if this is the best way to do it?Thanks for the help!

May 07, 2021 at 07:58PM by loathedMountainGoat
https://ift.tt/3h9Jqgl
New post on /r/flutterdev subreddit:

🙋 We want to understand your main problems while programming or building products so we can build solutions for you
We want to build solutions to take away the pains when developing 👩‍💻 and reduce the time and costs of your development team.We would like to talk with you to better understand what are your biggest problems and develop solutions for you.Tell us what times you are available to talk by filling out this small form: https://tripetto.app/run/XK1G3N94SR/?referral=reddit

May 07, 2021 at 08:30PM by bryanrocac
https://ift.tt/3h8Qee2
New post on /r/flutterdev subreddit:

Spider: A small dart command-line tool for generating dart references of assets from the assets folder.
https://ift.tt/3f49aGp

May 07, 2021 at 09:37PM by marsNemophilist
https://ift.tt/3vP1yAb
New post on Flutter Dev Google group:

2-15 second UI freeze due to GC?
Hi folks We've distributed our app to 20 Beta testers and 5 of them are reporting the app freezes for 2-15 seconds. I think I've recreated the freeze by browsing lots of list-views in the app. After some time, the app freezes FOR 5-15s. The profiler shows this below, looks like a really long

May 07, 2021 at 10:19PM by Tobin Harris
https://ift.tt/3nYEoF1
New post on Flutter Dev Google group:

How to implement in-app update in flutter
Hello everyone, Can you please suggest how to implement in-app update for a Flutter Application? My flutter SDK Version is 1.22.0 Thank you in advance, Siddhartha

May 08, 2021 at 05:03AM by Siddhartha Bhattacharyya
https://ift.tt/3bbaeJq
New post on /r/flutterdev subreddit:

Is there a way to clear a Real-time Database node ever n days?
I have a flutter app that has a recycle bin feature and I was wondering if there was a way I could add a function to clear the data every 30 days the node is stored and sorted by date format

May 08, 2021 at 09:58AM by RexOverAll
https://ift.tt/3hcYzNY