String

var s2 = 'The + operator ' + 'works, as well.';
  • A Dart string is a sequence of UTF-16 code units.
  • You can use either single or double quotes to create a string.
  • You can put the value of an expression inside a string by using ${expression}.
  • You can concatenate strings using adjacent string literals or the + operator.

String — Structure map

Clickable & Draggable!

String — Related pages: