Dart编程实例 - dart字符串 Dart编程实例 - Truncate 方法 Dart编程实例 - dart字符串插值 Dart编程实例 - dart字符串 void main() { String str1 = 'this is a single line string'; String str2 = "this is a single line string"; String str3 = '''this is a multiline line string'''; String str4 = """this is a multiline line string"""; print(str1); print(str2); print(str3); print(str4); } Dart编程实例 - Truncate 方法 Dart编程实例 - dart字符串插值