Introduction to the 
Dart lang 
Jana Moudrá | @Janamou | +JanaMoudrá
Open-source 
For better performance 
Easy to learn 
Object oriented 
Modular
Use the Dart language, 
libraries, and tools to write 
anything from simple scripts 
to full-featured apps. 
Source: www.dartlang.org
How?
How? 
Download Dart
Dart SDK Dart Editor Dartium
Dart SDK 
Dart VM 
Libraries 
Command 
Line Tools
How? 
Learn the language
How? 
Learn the language It is easy!
Optional Types 
var x = 10; 
var y = 20; 
or 
num x = 10; 
num y = 20;
void main() { 
print("Hello world Dart!"); 
} 
main() function
void main() { 
querySelector("#my-button") 
..text = "Open Window" 
..onClick.listen(openWindow); 
} 
Cascade operator
class Person { 
String firstName; 
String lastName; 
int age; 
Person(this.firstName, this.lastName); 
} 
void main() { 
Person person = new Person("Jana", "Moudrá"); 
} 
Syntactic sugar
class Person { 
String firstName; 
String lastName; 
int age; 
Person(this.firstName, this.lastName); 
Person.withAge(this.lastName, this.age); 
} 
void main() { 
Person person = new Person.withAge("Moudrá", 25); 
} 
Named constructors
class Person { 
String _firstName; 
String _lastName; 
int _age; 
Person(this._firstName, this._lastName); 
Person.withAge(this._lastName, this._age); 
int get age => _age; 
set age(int age) => _age = age; 
} 
Getter and Setter
How? 
Develop awesome apps!
Code Lab 
Part...
github.com/Janamou/dart-codelab

Dart

  • 1.
    Introduction to the Dart lang Jana Moudrá | @Janamou | +JanaMoudrá
  • 2.
    Open-source For betterperformance Easy to learn Object oriented Modular
  • 3.
    Use the Dartlanguage, libraries, and tools to write anything from simple scripts to full-featured apps. Source: www.dartlang.org
  • 4.
  • 5.
  • 6.
    Dart SDK DartEditor Dartium
  • 7.
    Dart SDK DartVM Libraries Command Line Tools
  • 8.
  • 9.
    How? Learn thelanguage It is easy!
  • 10.
    Optional Types varx = 10; var y = 20; or num x = 10; num y = 20;
  • 11.
    void main() { print("Hello world Dart!"); } main() function
  • 12.
    void main() { querySelector("#my-button") ..text = "Open Window" ..onClick.listen(openWindow); } Cascade operator
  • 13.
    class Person { String firstName; String lastName; int age; Person(this.firstName, this.lastName); } void main() { Person person = new Person("Jana", "Moudrá"); } Syntactic sugar
  • 14.
    class Person { String firstName; String lastName; int age; Person(this.firstName, this.lastName); Person.withAge(this.lastName, this.age); } void main() { Person person = new Person.withAge("Moudrá", 25); } Named constructors
  • 15.
    class Person { String _firstName; String _lastName; int _age; Person(this._firstName, this._lastName); Person.withAge(this._lastName, this._age); int get age => _age; set age(int age) => _age = age; } Getter and Setter
  • 16.
  • 17.
  • 18.