What is late in Dart flutter?

the late modifier is part of the new null-safety by dart it’s used to tell the compiler to treat this variable as non-nullable and will be initialized later without it the compiler will treat the variable as nullable and give error.

Sizin İçin Seçtik  What is the difference between named and positional parameters?

Leave a Reply

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