Skip to content

TomNgan/2022-up-to-date-Darts-notes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Dart Note Sharing

This is some notes about Dart programming language. Credit to YouTube video Dart Programming Tutorial - Full Course, GeeksforGeeks Dart Tutorial, Dart Programming Tutorial and Dart's documentation.

Table of Contents

About Dart

  • It is an open-source programming language (FYR: c#, Matlab are closed source).
  • It is developed by Google.
  • By using Flutter Framework, it can be used on building apps for mobile (iOS and Android), web, desktop (Windows, macOS, and Linux), and embedded devices.
  • A great example of Dart application is Gmail.
  • It is similar to Java, C, and JavaScript.
  • It is a compilation-needed, type-safe (FYR: main static type but allow dynamic type), Object-oriented programming (OOP) langugage.
  • It includes both a Dart VM with just-in-time (JIT) compilation and an ahead-of-time (AOT) compiler for producing machine code

If you have any problem with installation, you can try the official online compiler first.

For Windows OS

To install the Dart SDK:

choco install dart-sdk

To upgrade the Dart SDK:

choco upgrade dart-sdk

For macOS

Install Homebrew (If you have already installed it, continue to the next step):

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

To install the Dart SDK:

brew tap dart-lang/dart
brew install dart

To upgrade the Dart SDK: brew upgrade dart

Static typed vs Dynamic typed language (Optional)

  • Stringly typed language: The type of a variable is known at compile time. For example: C++, Java, Swift

  • Dynamic typed language: The type of a variable is known at run time. For example: Python, Ruby, JavaScript

About

2022 up-to-date Dart notes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages