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.

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 Text widget.

Check out below article for detail information about this tip.

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.

Use below:

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.