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

Tips For Your First Flutter App
Hi Champs! I recently published my first Flutter App after learning to code for 4 months. It is not super impressive by any means, but I still thought that I would share some learnings and lessons for anyone looking to make their first app.1. Learn the fundamentals of computer science.This step is quite simple, but I would argue that it is one of the most fundamental steps to successfully building and launching an app. Learning about command line, order of operations as well as how functions work and are executed in coding in general would be the most fundamental.2. Learn about Dart before learning about Flutter.I started directly with Flutter and after around 3 weeks I realized that it would be much more productive if I had learnt dart beforehand. Then I would not have had to learn both Dart and Flutter at the same time. So get a head start with flutter development by learning dart first.3. Visualize the app before building it.The first test apps that I made I built straight in flutter without designing them first. They all turned out with a horrible aesthetic and that is what made me quit on them. Learn a program like AdobeXD or Figma in order to design your app beforehand and then using that to build the app in Flutter. This will make sure that the look stays consistent and also encourage you to not deviate from the original plan.4. Split things up in different files.At the beginning I would just make the entire app in one file called “main.dart” this quickly got really messy and it became hard to understand. It is much better to split up your custom widgets, your different screens in different functions so that you can easily reference them and edit them.5. Leave comments.I remember I took a two-week break in the middle of building my app and when I came back it was really hard to follow what part had what purpose. Make sure to leave comments throughout the code so that you can easily modify it later and understand what you have written.6. Get a Mac.One really nice thing about Flutter is that you can make both IoS and Android apps with one code base. However, in order to publish the IoS version of the app, you will need to have access to a Mac. Keep this in mind if you are thinking of using Flutter or if you are looking to get a new computer.These 6 tips are just my two cents after going from no coding knowledge to building apps in 5 weeks. I also made a video about this process, feel free to watch it here

June 13, 2021 at 03:14PM by palmtreebranch
https://ift.tt/3pO2uD6
New post on /r/flutterdev subreddit:

How to implement Google sign in with flutter within 10 min
Hello GuysCheck out my latest blog post about how to implement google authentication with your flutter app within 10 minHope you guys like it!https://devpubba.com/2021/06/06/google-sign-in-flutter-firebase/

June 13, 2021 at 04:25PM by devpubba
https://ift.tt/3wpchSO
New post on /r/flutterdev subreddit:

Hey guys uploaded a new video in Flutter Animation “Delayed Animation in just 2 lines of codes” on my youtube channel. Have a look and let me know your feedback on the comment section. Thank you.
https://youtu.be/LH5XVGnrJJ8

June 13, 2021 at 05:16PM by praveenthedesigner
https://ift.tt/3gtE5i6
New post on Flutter Dev Google group:

INCULA ED AMMAZZA TANTI BAMBINI: ANDREA BAGGIO DI CRIMINALISSIMA REPUTATION UP DI CASTELFRANCO VENETO!
INCULA ED AMMAZZA TANTI BAMBINI: ANDREA BAGGIO DI CRIMINALISSIMA REPUTATIONUP DI CASTELFRANCO VENETO! 1 OLTRE AD ESSERE FIGLIO DI PUTTANA HITLERIANO, TERRORISTA LEGHISTA, RAZZISTA, NAZISTA, OMICIDA E RICICLA CASH NDRANGHETISTA DI COSCA ARENA DI ISOLA CAPO RIZZUTO (DI CUI É PARTE PURE IL MASSONE

June 13, 2021 at 07:22PM by Andreas Nigg Bank J Safra Sarasin Zurich
https://ift.tt/2SzE9EO
New post on /r/flutterdev subreddit:

Whats the best way to fetch products from api to ecommerce app . Just one time then use them all over the app
I am making an e commerce app i want to fetch products one time and maybe store them in local storage and call them locally so it take less time fetching and make it easy to use use controle them Any advice how to do that or whats the best way to fetch product from api to widget because i do that directly to future builder but i feel there is a better way . Thank you

June 13, 2021 at 08:59PM by 2cool4school007
https://ift.tt/2Tpjp2L
New post on Flutter Dev Google group:

data conversion error
Hello good day I have an inconvenience I need to convert a List
New post on /r/flutterdev subreddit:

Dart setter - set versus updateVariable
When using private variables in a Dart class, is it better to use the set keyword or is it better to use updateVariable name? I see the use of updateVariableName often. I wonder why there are two different techniques?In the example below, the class Animal uses the set keyword. The class Bison uses the updateVariableName method that I am referring to.```dart class Animal { int _distanceRoamed = 0; int get distanceRoamed => _distanceRoamed; void set distanceRoamed(value) { _distanceRoamed = value; } }class Bison extends Animal { int _amountEaten = 0; int get amountEaten => _amountEaten; void updateAmountEaten(value) { _amountEaten = value; } }void main() { Animal wolf23 = Animal(); wolf23.distanceRoamed = 128; print('wolf roamed ${wolf23.distanceRoamed}');// bison Bison bison120 = Bison(); bison120.distanceRoamed = 52; bison120.updateAmountEaten(38); print('bison - distance roamed: ${bison120.distanceRoamed}, amount eaten: ${bison120.amountEaten}');}```

June 14, 2021 at 01:44AM by codetricity
https://ift.tt/3gpUVyg
New post on Flutter Dev Google group:

A problem occurred evaluating project ':app'
Hello everyone! I'm struggling a lot to make flutter work I did a fresh install today following the documentation and I'm getting the following error: *Launching lib\main.dart on sdk gphone x86 in debug mode...* *Running Gradle task 'assembleDebug'...* *FAILURE: Build failed with an

June 14, 2021 at 02:59AM by Federico Zorrozua González
https://ift.tt/3wnVJdE
New post on /r/flutterdev subreddit:

How to implement Google sign in with flutter within 10 min
https://ift.tt/3pQa7J6

June 14, 2021 at 04:23AM by devpubba
https://ift.tt/3cEKcPi
New post on Flutter Dev Google group:

How to identify specific user on iPhone?
If you don't want the user to need to login but still want to identify the specific user on iPhone, is there a way to do this?

June 14, 2021 at 09:01AM by C C
https://ift.tt/3xm5I3w
New post on /r/flutterdev subreddit:

Overwhelmed with amount of Widgets! How do you remember what to use?!!!
I am picking up Flutter and right now I am just overwhelm by the shear amount of Widgets.I think my main problem is not having a clear way to classify the widgets which will help remembering them.Also is there some characteristics of these widgets that could help in remembering them, what they do and how to use them?For instance in html, you have tags that are inline display or block level display, knowing this helps in classifying html tags and how they would behave. Are there info like this about widgets in flutter?How are other flutter developers handling this? Is this a case of "with time, you remember the necessary ones?"

June 14, 2021 at 11:02AM by finlaydotweber
https://ift.tt/3wr0lzY