Strings
Interpolation
${expr}
Inside a string literal, ${expression} inserts a value computed at runtime.
Program
Play the program to embed a computed age in a sentence.
interpolation.dart
void main() {
var name = 'Ada';
var age = 36;
print('${name} is ${age + 1} next year');
}
$name
Simple identifier interpolation.
${expr}
Full-expression interpolation inside `${...}`.
immutable
The original `name` and `age` are unchanged.