Flutter Development: Using Classes & Objects in Dart

placeholder

Dart is an object-oriented programming language that supports mixin-based inheritance and functional constructs. Mixin-based inheritance allows you to reuse code from a class without having to inherit from that class and is very useful for modeling inclusive functionality for classes. In this course we will focus on object-oriented programming constructs in Dart. We’ll explore generative and factory constructs and also see how const constructors can be used to create objects that are compile-time constants. Next you will learn to use getters and setters in Dart and see how you can implement operator overloading a feature borrowed from C++. You will discover class inheritance and interface implementation and see how to apply the mixin-based inheritance model to reuse code from classes. You will learn how to install and use third-party libraries from the pub.dev repository and include these as dependencies in your code using the pubspec.yaml file. Finally you will use futures and the async and await keywords to write asynchronous code in Dart.