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

Smile game
Hii, I created my first game with flutter, I just uploaded it to the play store because it's to expensive to publish it in the app store.It's about a lizard that jumps when you smile and I would love if you guys can give it a try.https://play.google.com/store/apps/details?id=com.tollini_games.lizard

May 17, 2020 at 03:22AM by ResponsibleComposer0
https://ift.tt/2WCKiQ1
New post on /r/flutterdev subreddit:

Colouring app
Guys I'm thinking of making a coloring app.. Which will have the figures and user just has to select colors and paint it.. Anyone could help me with finding a project/YouTube video that vaguely deals with such kind of thing so i can get some ideas....

May 17, 2020 at 10:09AM by redditsucks690
https://ift.tt/2ZhmgMh
New post on /r/flutterdev subreddit:

This can(’t) be null. Or somewhat surprising behavior of extension methods.
https://ift.tt/2TcZeSW

May 17, 2020 at 09:40AM by spkersten
https://ift.tt/2Zhjvup
New post on /r/flutterdev subreddit:

How to get various common directories in Android and iOS?
Tip no 41 of 100 on 100 Days of Flutter.Path Provider( path_provider package) (common file locations in iOS and Android)Sometimes we want to get the location of Various common directories like:Download, Cache, Documents, External Storage, External Cache etc.The package path_provider is build for exact same reason so that we do not have to deal with Platform specific issues by our own.Add path_provider to pubspect. path_provider: ^verisonUse it
//Gives download directory Directory tempDir = await getTemporaryDirectory(); //Gives documents directory Directory docDir = await getApplicationDocumentsDirectory(); //Gives external Storages List<Directory> externalStorages = await getExternalStorageDirectories(); //Gives download directory Directory downloadDir = await getDownloadsDirectory(); 
Download path_providerProvide feedback / contribute on awesome flutter tipsGet daily Tips here

May 17, 2020 at 08:54AM by erluxman
https://ift.tt/2Lwro74
New post on /r/flutterdev subreddit:

How to do a combination of Domain driven design (DDD) and MVVM Provider architecture in flutter?
Hello devs! I’ve been doing flutter development for a while now using FilledStack Provider Architecture As seen here https://youtu.be/kDEflMYTFlkI’ve watched DDD flutter tutorial by ResoCoder too https://youtu.be/RMiN59x3uH0 But the DDD diagram shown is using BLoC for the “application layer”Right now, I would like to add DDD to my development, how should 1 combined these 2 together? What should be at the “app layer” if I’m using “Provider”?Any help is much appreciated :)

May 17, 2020 at 08:36AM by SpaceYraveler6
https://ift.tt/2WDLcM4
New post on Flutter Dev Google group:

Push notifications iOS not working onMessage
When I send out a push notification when the app is open I am getting this error message ═══════ Exception caught by widgets library ═══════════════════════════════════════════════════════ The following NoSuchMethodError was thrown building Builder(dirty): The method '[]' was called on null.

May 17, 2020 at 09:50AM by Angela Scott
https://ift.tt/2ACdqhN
New post on /r/flutterdev subreddit:

Can we expect Flutter Web Stable and Flutter Desktop Stable in this year end?
I need to know the release roadmap of Flutter Web Stable and Flutter Desktop Stable ?

May 17, 2020 at 10:35AM by RageshAntony
https://ift.tt/2WBPJi7
New post on /r/flutterdev subreddit:

QUESTION: how to write the BLOC pattern's state file?
Hi everyone, I was going through the flutter_bloc tutorial and they used two different ways to write the BLOC's state file. For one bloc they used an abstract class extended from Equitable while for the other they used a single class with factory constructor for defining states. My question is when do we use which one?

May 17, 2020 at 10:32AM by dontGiveAnEfAnynore
https://ift.tt/3fYeFb6
New post on /r/flutterdev subreddit:

Automatically deploying to Firebase after Flutter Build Web
Hi all , I basically want to automatically run firebase deploy after building the web client . Is their a trick to doing this ?

May 17, 2020 at 11:28AM by undefinedNANString
https://ift.tt/2X6huhA
New post on /r/flutterdev subreddit:

FlutterForce — Week 77
https://ift.tt/2ZddVZQ

May 17, 2020 at 12:43PM by flutterist
https://ift.tt/2ZdeWB8
New post on /r/flutterdev subreddit:

I'm confused about flutter
i'm afraid of be unemployed.What i have to know about advanced flutter? Shoul i have to learn mongodb,nodejs? I know firestore and local database(sqflite).What i have to learn guys?This is my question.Give me some advices

May 17, 2020 at 01:53PM by sonmohikan12
https://ift.tt/364F5Uc
New post on /r/flutterdev subreddit:

Should I use GetIt instead of InheritedWidgets?
I am about to start a really complex and huge project and I can't decide whether to use GetIt or not. My use case would be to "get" ChangeNotifier (or BLoC) objects, and common service objects like DbService, etc. On one hand, it would be nice to be able to access these objects without needing a BuildContext. On the other hand, GetIt kind of feels like a dirty solution and an easy way out since it is using a global map that has references to singleton classes. I need thoughts on why I should or not use GetIt instead of InheritedWidgets. I have been reading about this for hours but I haven't yet found a convincing enough answer that made me stop researching, so I decided to create a new post to see if there are some fresh ideas on this issue. I would appreciate explaining your thoughts with use cases instead of just stating them.EDIT: If I decide to go with InheritedWidgets, I am gonna use package:provider.

May 17, 2020 at 02:20PM by toplanisback
https://ift.tt/2TtGm2b
New post on /r/flutterdev subreddit:

Flutter JSON parsing: What is the fastest?
https://ift.tt/2X3e934

May 17, 2020 at 04:39PM by CraftThatBlock
https://ift.tt/2LzHk8x
New post on /r/flutterdev subreddit:

Windows or Ubuntu?
Where should I setup my environment? Is ubuntu faster for android development?

May 17, 2020 at 05:44PM by PinkmanLannister
https://ift.tt/2X7eL7B
New post on /r/flutterdev subreddit:

Navigation Rail Widget - Flutter v1.17
After Flutter latest version 1.17 there is a new Widget in Flutter Widgets familyNavigation RailHere is my effort: https://link.medium.com/NuImQh54y6Please do share your Design with me if u tried for learning purposesThanks a lot 😊

May 17, 2020 at 05:41PM by m_hamzashakeel
https://ift.tt/2TfKbaV
New post on /r/flutterdev subreddit:

Provider: How to handle model dependencies?
Hi!I've watched many Provider tutorials, and I love provider so far, however I have two architectural problems.​First issue is the login flow, after I get a successful login response with userId, I need to push HomeScreen() and load some initial data, from various providers.Example:​
//HomeScreen.dart initState() { super.initState(); initializeData(); } Future <void> initializeData() { var authenticationProvider = Provider.of<AuthenticationProvider>(context); var accountProvider = Provider.of<AccountProvider>(context); var albumProvider = Provider.of<AlbumProvider>(context); var songProvider = Provider.of<SongProvider>(context); await accountProvider.loadAccount(authenticationProvider.getLoggedInUser().id); await albumProvider.loadAlbums(); await songProvider.loadSongsForAlbums(albumProvider.getAlbums()) } 
This works, but feels ugly?​And second issue is:Imagine the API like this:api/albums (model contains info about album)api/albumpurchases (model contains which albumId and userId)​What would be the best way to get purchased albums of the logged in user?I can think of 3 different ways, none of which seem good:AlbumProvider having two arrays, albums[], and purchases[], and a method getAlbumByPurchase (String purchaseId) or getPurchaseForAlbum(String albumId) which then does .where() by Id and returns the item.Having AlbumProvider and AlbumPurchaseProvider, then using ProxyProvider to combine the two.I'm not sure how exactly would that be implemented, an example would be very appreciated!Adding "purchase" property to an Album, then manually mapping it similarly to way 1).I've used this so far, and it seems great in the beginning but gets very ugly very quick since your subsequent Album HTTP responses everywhere would be lacking that purchase property, so I either need to get the purchase again, or I need to get it an Album object with the purchase from AlbumProvider based on an Id in response I got.​Thank you all in advance!

May 17, 2020 at 06:29PM by snail_jake
https://ift.tt/2zHqW3h
New post on Flutter Dev Google group:

Flutter List filter issue
Hi all, I'm new to flutter but I have successfully done one application and already put on play store. I'm working on my second app and I'm facing an issue. I'm fetching a json List from a server Then I show that list in List view. Container( height: AppTheme.fullHeight(context),

May 17, 2020 at 06:36PM by yasitha perera
https://ift.tt/2y91SS8