-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add: multi-line string to the example
- Loading branch information
Showing
2 changed files
with
29 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,16 @@ | ||
void main(){ | ||
String getCourseName = "flutter bootcamp 21"; | ||
print ('Hello $getCourseName'); | ||
String myFirstName = 'Seth'; | ||
String myFavouritePhrase = 'This elixir mister got a maze in vista'; | ||
String myOtherName = "Doug"; | ||
|
||
String multiLine = ''' | ||
Hello | ||
This is a multi-line | ||
Text which is over multiple line | ||
'''; | ||
|
||
print(myFirstName); | ||
print(myFavouritePhrase); | ||
print(myOtherName); | ||
print(multiLine); | ||
} |