Skip to content

Latest commit

 

History

History
49 lines (33 loc) · 891 Bytes

README.md

File metadata and controls

49 lines (33 loc) · 891 Bytes

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.