mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-23 17:41:41 +00:00
Fixed typo
This commit is contained in:
parent
08558182f5
commit
6410aeac23
@ -45,7 +45,7 @@ const CONSTANT_VALUE = "I CANNOT CHANGE";
|
|||||||
CONSTANT_VALUE = "DID I?"; //Error
|
CONSTANT_VALUE = "DID I?"; //Error
|
||||||
/// Final is another variable declaration that cannot be change once it has been instantiated. Commonly used in classes and functions
|
/// Final is another variable declaration that cannot be change once it has been instantiated. Commonly used in classes and functions
|
||||||
/// `final` can be declared in pascalCase.
|
/// `final` can be declared in pascalCase.
|
||||||
final finalValue = "value cannot be change once instantiated";
|
final finalValue = "value cannot be changed once instantiated";
|
||||||
finalValue = "Seems not"; //Error
|
finalValue = "Seems not"; //Error
|
||||||
|
|
||||||
/// `var` is another variable declaration that is mutable and can change its value. Dart will infer types and will not change its data type
|
/// `var` is another variable declaration that is mutable and can change its value. Dart will infer types and will not change its data type
|
||||||
|
Loading…
Reference in New Issue
Block a user