How to start flutter

This is the very first question asked by many after they start their Flutter journey. Here I have included necessary stuff from my knowledge, not strictly limited to Flutter but including the related things as well. I can point to a single direction from where they can start their journey as a Flutter developer. Also, you can share to save your time as well. Suggestions are welcome, make an issue and then PR. Documentation Yes, there is no better option than official Flutter documentation. ...

Abstract & Generic class

Abstract class You went to your local restaurant for breakfast. When you got there, you saw a lump of raw dough sitting in front of the stove. Then a boy came over and asked, “Ruti, paratha, or naan?” Whatever you say, they prepare it right on the spot and serve it to you. Here the dough on the counter is the abstract class. abstract class Dough{} It exits, but it has no final form. You can not eat it raw rough dough. In programming we would say, you can not initiate it. ...

Sealed & Union class

I hope you’ve already checked the Abstract & Generic . We already know what abstract class is and it can be extend from anywhere by importing the abstract class. It offered the benefits of restriction extending class outside the library. abstract class ApiState {} class Loading extends ApiState {} class Success extends ApiState {} class Error extends ApiState {} But we create a sealed class, it can not be only extend from that library/file. Note each file is a library, and you can use part/part of to combine multiple file. ...