This document provides an overview of Flutter and Dart. It discusses installing Flutter, the basics of Dart including classes and constructors, and key Flutter concepts like widgets, stateless and stateful widgets, Material and Cupertino design, animations, pub.dev, state management, and network requests. It also covers limitations of Flutter and resources for learning more.
11. Dart
class Cat {
String name;
Cat(this.name);
@override
String toString() => "My Cat's name is: $name";
}
void main() {
final tom = Cat('Tom');
print(tom);
for (int i = 0; i < 5; i++) {
print('hello ${i + 1}');
}
}
● High similarity with other
programming languages
● OOP with functional supports
● AOT & JIT compilations
12. Dart
Important things to note:
● Class & constructor
● Named parameters
● Anonymous function/lambda
● Future & async-await
25. Flutter Web
● Hummingbird
● Beta
● Still a lot of limitations
1 flutter channel beta
2 flutter upgrade
3 flutter config --enable-web
4 flutter run -d chrome