Assalam o Alaikum!
In this video you will learn programming | php | javascript | | Css | Html | Flutter | Adobe Photoshop | Bootstrap | JQuery | and many more....
????The late modifier in Dart is used to declare a variable that will be initialized later. This is useful in situations where you know that you will need to initialize the variable, but you don't know what the value will be until later in the code.
int no=12; //here we will not use late modifier,beacuse
//without late modifer it is working.
//late modifier
late String name;//global variable(non-nullable + un initialize variable )
//we will use late modifier with non-nullable variable and un initialize variable.
void main() {
name="mini_project";
print(name);
print(no);
}
For Loop use in Dart:https://youtu.be/dX6fit5dd-Y
statically typed variables in Dart:https://youtu.be/dCU0Bj5rmDc
inferred typed variables in Dart:https://youtu.be/Dx8HKmrgSHg
implicitly variable vs explicitly variable:https://youtu.be/nTYWgbS2aR8
variable naming rule:https://youtu.be/0Rjd0ml1uSY
variable naming conventions:https://youtu.be/Z7SswHZ3pDs
print method in dart:https://youtu.be/94_eOEWsUxo
concatenation rule string int double boolean:https://youtu.be/AHB_4qorks8
null-safety concepts in dart:https://youtu.be/TuAxEepo-2Y
dynamic in dart:https://youtu.be/fDsGqsBRUrs
constant and final in dart:https://youtu.be/M7yiiSzg9kI
declaration & intialization in dart:https://youtu.be/o4EEj4h-G34
late modifier concepts in dart:https://youtu.be/VLN-s4ypi6s
#dart #flutter #concepts #tutorial #dartprogrammin#late #modifier #learn dart #method