DEV Community

Cover image for Why Avoid Late Variables in Dart ??

Why Avoid Late Variables in Dart ??

Areeba Farooq on July 12, 2022

𝗛𝗼𝘄 𝗟𝗮𝘁𝗲 𝗩𝗮𝗿𝗶𝗮𝗯𝗹𝗲𝘀 𝗰𝗮𝗻 𝗯𝗲 𝗩𝘂𝗹𝗻𝗲𝗿𝗮𝗯𝗹𝗲? Instance fields can be initialized in 4 ways: At the point of protestation In a constructor ar...
Collapse
 
andaeiii profile image
Ande Caleb

interesteen read.

Collapse
 
areedev profile image
Areeba Farooq

Thankyou :)