Flutter Heroes
26.1K subscribers
272 photos
2 videos
31.1K links
Download Telegram
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
New post on Flutter Dev Google group:

How to change Data when swap horizontally in Tab bar
Hi Team, I am facing a problem - when swapping the tab bar I am getting the same page for all the tabs. how can I change the data based on swapping? [image: image.png] [image: image.png] But I can able to change the data when taping the tab bar using* on tap* function, Kindly check this

May 17, 2020 at 06:41PM by Ram Kumar
https://ift.tt/2y91W4k
New post on /r/flutterdev subreddit:

Flutter apps (show me)
Hey,I still can't figure out if I should go Flutter way or RN. I know many RN apps, but can't say the same with flutter.Show me apps that you have made with flutter.

May 17, 2020 at 07:28PM by ilmep
https://ift.tt/2AzBVMp
New post on Flutter Dev Google group:

How to implement a custom drop down button?
I know there is a DropDownButton widget, but i need to use some other button, Like a FlatButton or RaisedButton, so that i can make a custom icon/text field as the trigger for drop down. Any ideas?

May 17, 2020 at 08:34PM by Hassan Hammad
https://ift.tt/2zKkk48
New post on Flutter Dev Google group:

rowspan & colspan in table in Flutter table as we use in HTML table
I want to show data in table format & it have merged cells, I tried it with flutter table but it does not have rowspan and colspan feature. Is there any way I can show the data as following [image: Screenshot 2020-05-18 at 12.15.15 AM.png] Please make sure that data is dynamic here.

May 17, 2020 at 08:52PM by AKHIL SRIVASTAVA
https://ift.tt/3dUHbsp
New post on Flutter Dev Google group:

Convert Java to dart
is there a way convert java to dart and vice versa ?

May 17, 2020 at 11:39PM by John Melody Me
https://ift.tt/2LDph1i
New post on /r/flutterdev subreddit:

A List of Free courses on Flutter Framework for Native App Development
This is the right time to gather Free courses and other training resources on Flutter to get ourselves familiar and functional with the platform.There aren't a lot of free courses available currently because it's still gaining popularity but here are the ones that are available:Udacity - Build native mobile apps with FlutterApp Brewery - Introduction to Flutter development using Dart (Free certificate of completion)Official Flutter tutorial on Flutter.devUdemy - Learn Flutter Beginner courseThe Net Ninja - Flutter tutorial for BeginnersMore details on these courses can be found HERE.If you know any other free training course, kindly share it with us.

May 18, 2020 at 12:55AM by dreamygeek
https://ift.tt/3g2Cqiy
New post on Flutter Dev Google group:

Sent Form Data to Mail or Databse
hey, I have a form and i would like to send the data to a database or an email but i dont want that the user is redirected to another app everything should happen in the background. Can somebody help me ? Tanks

May 18, 2020 at 01:52AM by Omar Mehrez-Kharat
https://ift.tt/2X4IAWH
New post on Flutter Dev Google group:

Unable to open camera and Microphone in WebView
We already give the permission to our Flutter Mobile app but still WebView can’t open an camera and microphone in WebView. please help us

May 18, 2020 at 07:58AM by Lucky Mehndiratta
https://ift.tt/3dZIS7N
New post on /r/flutterdev subreddit:

🎉🎉Tips 36-42 just got published on ❤️100 days of Flutter Tips❤️
I have published 7 new tips (36-42) on ❤️ Awesome Flutter ❤️ tips and tricks ❤️https://github.com/erluxman/awesomefluttertipsCheck them out.🎉🚀I would appreciate any contribution or feedback. 🙏🏻For daily new tips follow this thread :https://twitter.com/erluxman/status/1246608678486065152

May 18, 2020 at 08:12AM by erluxman
https://ift.tt/2ZhO4jp
New post on Flutter Dev Google group:

Store and build Flutter project on Google Drive
Hi! I'm new to Flutter but I'm really liking it so far :-). However I have one problem. I want to store my projects on my Google Drive to be able to work on them from different computers in a team. But when I do "Flutter run" I get the following error: A problem occurred evaluating project

May 18, 2020 at 09:19AM by Andreas Gartmyr
https://ift.tt/2TerQev
New post on /r/flutterdev subreddit:

My second article, in the series of Decoding UIs with Flutter
https://ift.tt/367YHa1

May 18, 2020 at 09:58AM by yiss92
https://ift.tt/2ZfO3N8