Dart

What does super and Key do in flutter?

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

How do I use Dart extension functions?

There is an  official video by the Flutter team  about extension methods now. Static extension members Here is an intuitive …

Dart Multiple Constructors

You can only have one   unnamed   constructor , but you can have any number of additional   named  constructors class Pla…

What assert do in dart?

Main purpose of   assert   is testing conditions during debugging/development. Let's think about a real example: class …

Load More
That is All