I started writing the Weekly Tips on Flutter and Dart in January together with monthly tips articles.
Here is the second article in this series.
Check out the first article of Tips from January if you have missed it.
#1 Flutter + Dart Tips
There are always some small things in every programming language and framework that helps to work with it better. So in…
Today’s article is all about the February month, I have shared some tips, but also we have got some good tips from the community members.
Below are February month’s Tips:
4. Apply style as a Theme in a
Check out below article for detail information about this tip.
Flutter: Apply style as a Theme in a Text widget
I am writing this article as a part of my weekly Flutter and Dart Tip. I know what you are thinking Tip should not be…
5. Want to run task periodically in Dart?
What about using
Timer.periodic It will create a repeating timer, It will take a two argument one is
duration and second is
callback that must take a one Timer parameter.
There are some alternatives to it in Dart and it is one of them.
6. Use Ternary operator instead of the if else to shorter your Dart code.
Instead of this:
That’s it from my end but there some good tips shared by some other developers from the community.
Below are some of them:
- Flutter IDE shortcuts article by Pooja Bhaumik, Contains a list of shortcuts that you can utilize to faster your Flutter development.
Flutter — IDE Shortcuts for Faster Development
An extensive list of IntelliJ IDE shortcuts for faster and more efficient Flutter development.
2. Remi Rousselet has shown over here How you can use
sync* to build a dynamic list of widgets and avoid a
The example shown here are may not be perfect but it is to showcase how you can utilize this in your Flutter development.
This is it from the Month of February. Stay tuned for more updates. All tips shared can be found in my “FlutterDartTips” repo on Github:
Contribute to ibhavikmakwana/FlutterDartTips development by creating an account on GitHub.
Have a great and Fluttericious day.
If you have some cool tips in your mind and want to share with the Folks around the world, Fork the repository and Make a PR.