mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-08-06 06:47:54 +02:00
Fixed typo
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user