What does <> Do in Flutter?

It allows specializations of classes . List is a list that can contain any value (if no type parameter is passed dynamic is used by default). List<int> is a list that only allows integer values and null`. You can add such Type parameters to your custom classes as well.

Read more

What does <> Do in Flutter?

It allows specializations of classes . List is a list that can contain any value (if no type parameter is passed dynamic is used by default). List<int> is a list that only allows integer values and null`. You can add such Type parameters to your custom classes as well.

Read more