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

Simple Flutter app (daily wisdom from Game of Thrones) looking for adoption
Hi, I just wanted to share the source code of an app I made last summer in case anyone wants to take on the project.Last summer I decided to start learning Flutter and play a bit with it. After following some tutorials, I made my first simple app: it's a sort of calendar, where for every day you get a random quote from the A Song of Ice and Fire books. You can also insert your name or nickname, which will change the seed for the random number generator, thus providing some kind of personalization; there are also nine themes available, based on some popular houses. The app should be ready for publishing, at least for Android, but then life got in the way and I abandoned the project. Now I've changed computer and I'm not going to reinstall the Android SDK and all of that because I don't plan to code Flutter apps in the near future. However, I thought it would be a pity to completely abandon the project, because I still really like the idea, so if anyone wants to mess with it and maybe publish it here's the link to the complete app folder (plus a couple screenshots): https://drive.google.com/drive/folders/1tjSJgeAX6oAd0sKEFHoBbyiZePzKv8un?usp=sharingIf you decide to do something with this project we can keep in touch :)

September 06, 2021 at 03:40PM by JMarty97
https://ift.tt/2WYs6TS
New post on /r/flutterdev subreddit:

Mobile native widget with flutter
I started my first mobile app with flutter, and I'm asking to myself if I can implement a native widget to shows some information without opening the app.I didn't found nothing around the web (maybe I'm wrong) and for this reason, I want to talk with the community if there is any possibility to add this feature to my app.Thanks.

September 06, 2021 at 03:25PM by crazyjoker96
https://ift.tt/3jNYH7C
New post on /r/flutterdev subreddit:

Flutter Tap Weekly Newsletter Week 101 - Tutorials, videos, packages, and much more!
https://ift.tt/3BMMGFG

September 06, 2021 at 03:24PM by vensign
https://ift.tt/38KRcYA
New tweet from FlutterDev:

⚡️ Performance profiling and jank-busting These can seem like topics for advanced devs, but don't sell yourself short! In this blog post @filiphracek walks through how a few tools and a little know-how can add up to big time improvements... Read → https://t.co/SI0aIpe0UM https://t.co/khoOaJBwS2— Flutter (@FlutterDev) Sep 6, 2021

September 06, 2021 at 06:00PM
http://twitter.com/FlutterDev/status/1434909264347271173
New post on /r/flutterdev subreddit:

Widget inheritance versus composition - what should I do?
After a bit of research, I learned that Flutter for the most part prefers to use composition rather than inheritance when it comes to widgets. For example:- https://flutter.dev/docs/resources/architectural-overview#composition- https://stackoverflow.com/questions/51476234/subclass-a-class-that-extends-statelesswidget-or-statefulwidget-class-https://groups.google.com/g/flutter-dev/c/muVUV4z71fs/m/DS0twymQCAAJWhat if multiple widgets use the same class member (for example an APIService class)? My first instinct was to create a BasePage and have the classes inherit from this BasePage widget - but realized this may not be the proper way to do things in Flutter. For example:Class BasePageWidget {
final apiService = APIService();
}Class A extends BasePageWidget {
super.apiService to use inherited class
}What is the commonly accepted way to approach this? Do I simply add the class member to all of the widgets the utilize the ApiService? This seems a bit repetitive. For example:Class A {
final ApiService = APIService()...useApiService somwhere in the class
}Class B {
final ApiService = APIService()...useApiService somwhere in the class
}

September 06, 2021 at 07:01PM by Material_Problem_380
https://ift.tt/3DRXzrj
New post on /r/flutterdev subreddit:

How to use Graphqlprovider in multi provider
How can i use graphqlprovider in multiprovider that wraps the materialapp. I have other providers and want to include graphql. Any help? Thanks

September 07, 2021 at 01:24AM by Jaymal1
https://ift.tt/3l3M8V5
New post on /r/flutterdev subreddit:

Has anybody used Flutter web in the last couple of months?
How’s it like? Can I use it to build a portfolio website?

September 07, 2021 at 07:25AM by private256
https://ift.tt/3n6uker
New post on /r/flutterdev subreddit:

Riverpod vs Bloc
Which one and why?View Poll

September 07, 2021 at 10:42AM by Mesota22
https://ift.tt/3BS2aIv
New post on /r/flutterdev subreddit:

Looking for CSS like FR unit
Hi while doing some flutter courses I saw most of the time the instructor uses fixed sizes like 200, 300 etc.He mentioned the use of mediaquery to calculate the screen size and then take % of the space that you want of the screen, which is a much better approach.But coming from the web I really like that I can take a div and just create a grid inside it and define the width and height of items in that by fractions (fr) so basically I can say "item A takes 20% of the AVAILABLE SPACE, item B takes 50%, item C takes 30%" and then later I can take item B and create another grid inside it and create "b1,b2,b3 while b1 takes 60% of the available space, b2 takes 20%, b3 takes 20%" but since b1,b2,b3 are a part of B it means b1 is 60% of 50% of the space which is 30% of the parent div.​I probably explained it a bit complicated but overall I just look for a way to use CSS like grids without having to type defined widths each time, there must be a better way to position elements on your app that will fit the various different phone sizes.​Also can't flutter just take width: 100%? why do I need to do the long way of MediaQuery just to get the device width? you never do window.innerWidth in javascript

September 07, 2021 at 03:02PM by Physics_Total
https://ift.tt/3A3AXSk
New post on /r/flutterdev subreddit:

Enough with Firebase Flutter authentication videos.
Is it just me or someone else feels this too. Flutter Firebase authentication has been implemented by almost all possible ways in countless videos and articles. Please people stop with Firebase authentication videos.

September 08, 2021 at 07:36AM by coolshiv28
https://ift.tt/3ndn7JU