Dart Basics – What is Dart?
Dart is a statically typed, object-oriented programming language developed by
Google which can be used to build web and mobile applications.
applications
Statically Typed Object-oriented Mobile Applications
You define which type(s) of Everything‘s an object! You Flutter uses Dart as a
data a variable or function define classes as blueprints for programming language to
uses. your own objects. build native mobile apps.
class Person {
String myName;
String name = 'Max';
myName = 'Max';
}
Person p = Person();
myName = 5; // Fails!
print(p.name); // 'Max'