Skip to content

BlackIQ/Dart-Cheatsheet

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

77 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Learn Dart with this cheat sheet

This project starts from Hello World untill the end of the Dart :)

Simple example

  • Hello World in Dart
void main() {
    // Just print it!
    print("Hello World");
}
  • Variables in Dart
enum Os { BigSur, Mojave, Sierra, Catalina }

void main() {
    String name = "Amir";
    int age = 18;
    double height = 1.6;
    bool male = true;

    var field = "Programming";
    final grade = "Collage";
    const home = "NewYork";

    dynamic food = "Pasta";
    food = "Egg";
}

Contribute

You can contribute on this project by adding new stuff, editing and other things.

Contact

Anyway, if you have any question, tell me about it.

License

This project is licensed under GPL license.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dart 100.0%