Programming in Dart: Classes

Jun 28 2022 · Dart 2.17, Flutter 3.0, DartPad

Part 2: Learn Inheritance

11. Introduction

Episode complete

Play next episode

Next
About this episode

Leave a rating/review

See forum comments
Cinema mode Mark complete Download course materials
Previous episode: 10. Conclusion Next episode: 12. Understand Inheritance

Get immediate access to this and 4,000+ other videos and books.

Take your career further with a Kodeco Personal Plan. With unlimited access to over 40+ books and 4,000+ professional videos in a single subscription, it's simply the best investment you can make in your development career.

Learn more Already a subscriber? Sign in.

Transcript: 11. Introduction

In the last part, you introduced to the concept of classes. Classes allow us to define objects that represent the given state and behavior of a particular task in our program. If that’s all classes did, they would be awesome, but there’s a whole new layer of functionality that will save you both time and code. In this part, we’re going to be diving deeper into class features.

First, you’re going to learn about inheritance. This is where you define children classes to inherit the behavior of their parents.

Then you’ll learn how to override methods which is a powerful way of specializing subclasses.

After which, you’re going to learn about an abstract class and how you can use it define interfaces.

Once you learn about abstract classes, you’ll learn how to implement interfaces defined by other classes.

Then you’ll explore how generics work with classes.

After which, we’ll dive into Dart mixins which is a unique way to add features to existing classes.

Finally, we’ll close out this part of an overview of several Dart language features that weren’t covered in this course. So as you can see, there’s a lot to do. Let’s get to work.