Valid strings
suggest changeA string can be either single-line or multiline. Single-line strings are written using matching single or double quotes, and multiline strings are written using triple quotes. The following are all valid Dart strings:
'Single quotes';
"Double quotes";
'Double quotes in "single" quotes';
"Single quotes in 'double' quotes";
'''A
multiline
string''';
"""
Another
multiline
string""";
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents