{"id":15008538,"url":"https://github.com/seanpm2001/learn-dart","last_synced_at":"2026-01-30T15:33:05.872Z","repository":{"id":134857873,"uuid":"517804069","full_name":"seanpm2001/Learn-Dart","owner":"seanpm2001","description":"A repository for showcasing my knowledge of the Dart programming language, and continuing to learn the language.","archived":false,"fork":false,"pushed_at":"2022-08-01T23:49:08.000Z","size":310,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"Learn-Dart_Main-dev","last_synced_at":"2025-05-08T03:55:01.835Z","etag":null,"topics":["article","collection","dart","dart-collection","dart-lang","dart-language","google","gpl3","gplv3","knowledge","learn","learn-dart","learn-dart-lang","learn-dart-language","md","seanpm2001","seanpm2001-education","seanpm2001-learn","txt"],"latest_commit_sha":null,"homepage":"https://github.com/seanpm2001/Learn/","language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/seanpm2001.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"COPYINGL","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":".github/Security/OldVersions/1/1-100/SECURITY_V1.md","support":null,"governance":null,"roadmap":null,"authors":"AUTHORS","dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-07-25T20:01:51.000Z","updated_at":"2023-07-26T07:31:06.000Z","dependencies_parsed_at":null,"dependency_job_id":"775c712b-f7e1-4ee5-9da2-d09f2cbccddf","html_url":"https://github.com/seanpm2001/Learn-Dart","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":"seanpm2001/Git-Template_V8","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seanpm2001%2FLearn-Dart","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seanpm2001%2FLearn-Dart/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seanpm2001%2FLearn-Dart/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seanpm2001%2FLearn-Dart/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/seanpm2001","download_url":"https://codeload.github.com/seanpm2001/Learn-Dart/tar.gz/refs/heads/Learn-Dart_Main-dev","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252996331,"owners_count":21837620,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["article","collection","dart","dart-collection","dart-lang","dart-language","google","gpl3","gplv3","knowledge","learn","learn-dart","learn-dart-lang","learn-dart-language","md","seanpm2001","seanpm2001-education","seanpm2001-learn","txt"],"created_at":"2024-09-24T19:19:17.551Z","updated_at":"2026-01-30T15:33:05.792Z","avatar_url":"https://github.com/seanpm2001.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n***\n\n![/Dart_programming_language_logo.svg](/Dart_programming_language_logo.svg)\n\n### Learning Dart (programming language)\n\nI know very little about the Dart programming language. I don't intend to go far with this language. This document will go over all of my knowledge of the Dart programming language.\n\n#### Hello World in Dart\n\nThis is how you make a Hello World program in Dart:\n\n```dart\nvoid main() {\n  print('Hello, World!');\n}\n```\n\n#### Comments in Dart\n\nComments in Dart are the same as in PHP.\n\n##### Single line comments\n\nSingle line comments in Dart are written like so:\n\n```dart\n// This is a single line comment\n```\n\n##### Multi-line comments\n\nMulti-line comments in Dart are written like so:\n\n```dart\n/* This is a\n* multi-line\n* comment */\n/* This is \nalso a\nmulti-line\ncomment\n*/\n```\n\n#### Break keyword in Dart\n\n```dart\nbreak;\n```\n\nTo this day, I am still not entirely sure what the `break` keyword does, but most languages support it.\n\n_/!\\ This example has not been tested yet, and may not work_\n\n#### Classes in Dart\n\nDart supports classes. They can be implemented like so:\n\n```dart\nclass myDartClass {\n    print(\"Welcome to Dart class\");\n    break;\n}\n```\n\n_/!\\ This example has not been tested yet, and may not work_\n\n#### Other knowledge of the Dart programming language\n\n1. Dart is a language by Google\n\n2. Dart is a semicolon and curly bracket language\n\n3. Dart uses the `*.dart` file extension by default\n\n4. Dart is a functional programming language\n\n5. Dart is heavily influenced by C in syntax\n\n6. Dart transpiles to JavaScript, similarly to languages like TypeScript\n\n7. Dart is one of the top 50 programming languages (as of 2022, July 31st, ranking #32)\n\n8. Dart was first created in the year 2011\n\n9. No other knowledge of the Dart programming language\n\n#### Additional comments\n\n1. I have no intentions to use this language seriously\n\n2. No other additional comments available\n\n***\n\n## File info\n\n**File type:** `Markdown document (*.md *.mkd *.mdown *.markdown)`\n\n**File version:** `1 (2022, Monday, August 1st at 4:48 pm PST)`\n\n**Line count (including blank lines and compiler line):** `147`\n\n***\n\n## File history\n\n\u003cdetails\u003e\u003csummary\u003e\u003cp\u003eClick/tap here to expand/collapse the history for this file\u003c/p\u003e\u003c/summary\u003e\n\n\u003cdetails\u003e\u003csummary\u003e\u003cp\u003e\u003cb\u003eVersion 1 (2022, Monday, August 1st at 4:48 pm PST)\u003c/b\u003e\u003c/p\u003e\u003c/summary\u003e\n\n\u003e Changes:\n\n\u003e * Started the file\n\n\u003e * Added the `title` section\n\n\u003e * Added the `Hello World in Dart` section\n\n\u003e * Added the `Comments in Dart` section\n\n\u003e \u003e * Added the `Single line comments` subsection\n\n\u003e \u003e * Added the `Multi-line comments` subsection\n\n\u003e * Added the `break keyword in Dart` section\n\n\u003e * Added the `classes in Dart` section\n\n\u003e * Added the `other knowledge of the Dart programming language` section\n\n\u003e * Added the `Additional comments` section\n\n\u003e * Added the `file info` section\n\n\u003e * Added the `file history` section\n\n\u003e * No other changes in version 1\n\n\u003c/details\u003e\n\n\u003c/details\u003e\n\n***\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseanpm2001%2Flearn-dart","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fseanpm2001%2Flearn-dart","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseanpm2001%2Flearn-dart/lists"}