From 5d4f38ed8efa8a6060581715737b45bc13c9a247 Mon Sep 17 00:00:00 2001 From: Roshan-pcy Date: Thu, 30 May 2024 08:35:22 +0530 Subject: [PATCH 1/5] Update dart.md added multiline string in dart code --- source/_posts/dart.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/source/_posts/dart.md b/source/_posts/dart.md index 7e52cb3..71070ad 100644 --- a/source/_posts/dart.md +++ b/source/_posts/dart.md @@ -89,6 +89,15 @@ print(upperCase); //Print: NICOLA /* Comments like these are also supported. */ ``` +### multiline String + +```dart +For multiline String we have to use ''' your text''' +for example +print('''My long string'''); +//this will show long string +``` + ### Imports From 51c28c8e98fd26fbb19fc50fed3e743dc970ca02 Mon Sep 17 00:00:00 2001 From: Roshan pcy Date: Thu, 30 May 2024 08:56:09 +0530 Subject: [PATCH 2/5] added --- source/_posts/dart.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/_posts/dart.md b/source/_posts/dart.md index 7e52cb3..08ee5b2 100644 --- a/source/_posts/dart.md +++ b/source/_posts/dart.md @@ -276,7 +276,7 @@ Set names = {}; // This works, too. // a map is an object that associates keys and values var person = Map(); // To initialize the map, do this: -person['firstName'] = 'Nicola'; + person['lastName'] = 'Tesla'; print(person); //Print: {firstName: Nicola, lastName: Tesla} From c4ca11cc0449b101c33a01ef1e17ee75957e14be Mon Sep 17 00:00:00 2001 From: Roshan pcy Date: Thu, 30 May 2024 09:00:23 +0530 Subject: [PATCH 3/5] added --- source/_posts/dart.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/_posts/dart.md b/source/_posts/dart.md index 8480f9c..2d05b0d 100644 --- a/source/_posts/dart.md +++ b/source/_posts/dart.md @@ -95,7 +95,7 @@ print(upperCase); //Print: NICOLA For multiline String we have to use ''' your text''' for example print('''My long string'''); -//this will show long string +//this will show long strings ``` From 35ff8860aea1b3652b06eee528679aaa43659d41 Mon Sep 17 00:00:00 2001 From: Roshan pcy Date: Thu, 30 May 2024 09:09:05 +0530 Subject: [PATCH 4/5] added --- source/_posts/dart.md | 1 + 1 file changed, 1 insertion(+) diff --git a/source/_posts/dart.md b/source/_posts/dart.md index 2d05b0d..bc57bbb 100644 --- a/source/_posts/dart.md +++ b/source/_posts/dart.md @@ -96,6 +96,7 @@ For multiline String we have to use ''' your text''' for example print('''My long string'''); //this will show long strings +//this will help for only long strings ``` From 6184bacd2e2632ac3b03b1612d2f69a8235ab809 Mon Sep 17 00:00:00 2001 From: Roshan pcy Date: Thu, 30 May 2024 09:19:24 +0530 Subject: [PATCH 5/5] added:2 --- source/_posts/dart.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/_posts/dart.md b/source/_posts/dart.md index bc57bbb..3aaa793 100644 --- a/source/_posts/dart.md +++ b/source/_posts/dart.md @@ -95,7 +95,7 @@ print(upperCase); //Print: NICOLA For multiline String we have to use ''' your text''' for example print('''My long string'''); -//this will show long strings +//this will show long string //this will help for only long strings ```