What is the use of super in flutter?

super is used to call the constructor of the base class . So in your example, the constructor of CardTitle is calling the constructor of StatelessWidget .

Sizin İçin Seçtik  What is a super constructor in Dart?

Leave a Reply

Your email address will not be published. Required fields are marked *

What is the use of super in flutter?

super is used to call the constructor of the base class . So in your example, the constructor of CardTitle is calling the constructor of StatelessWidget .

Sizin İçin Seçtik  What are types in Dart?

Leave a Reply

Your email address will not be published. Required fields are marked *