01Chapter 1: Classes and objectsThis chapter assumes that you know basic Dart syntax, variables, types, functions, and control flow. You should also understand nullable and non-nullable types and have seen objects that call methods.2 min read
02Chapter 2: Fields, methods, getters, and settersThis chapter assumes basic Dart syntax, null safety, variables, functions, and control flow. It also assumes that you know an object stores data and exposes operations.2 min read
03Chapter 3: Privacy with a leading underscoreAssume you know Dart variables, methods, classes, and null safety. This chapter explains how Dart hides implementation details across library boundaries.2 min read
04Chapter 4: Static fields and methodsThis chapter assumes you know basic Dart syntax, null safety, classes, and instance methods. You will learn how to store data and behavior that belong to a class itself rather than to one particular object.1 min read
05Chapter 5: Generative constructors and initializing formalsThis chapter assumes basic Dart syntax, null safety, and familiarity with objects and methods. A generative constructor is a constructor that creates and initializes a new instance of its class. It is the normal constructor form in Dart.1 min read
06Chapter 6: Initializer lists and final fieldsAssume you know basic Dart classes, constructors, types, and null safety. This chapter focuses on how constructors initialize final fields before the constructor body runs.1 min read
07Chapter 7: Named constructorsAssume you know Dart variables, functions, null safety, and basic classes. A named constructor is a constructor with an identifier after the class name. It gives a class more than one clear way to create an object.1 min read
09Chapter 9: Constant constructors and compile-time constantsAssume you know basic Dart classes, fields, constructors, and null safety. This chapter focuses on when Dart can create an object before the program runs and how const constructors support that process.2 min read
10Chapter 10: Factory constructorsFactory constructors control how an object is obtained. Unlike a generative constructor, a factory constructor does not always create a new instance. It can return a cached object, a subtype, or an object created by another constructor.2 min read
11Chapter 11: Inheritance, super, and super parametersThis chapter assumes basic Dart syntax, null safety, functions, and object-oriented terms such as class, object, and method. You will use these ideas to reuse behavior between related classes.2 min read
12Chapter 12: Abstract classes and implicit interfacesThis chapter assumes you know Dart variables, functions, control flow, null safety, and the basic idea of objects and methods. You will learn how to define a shared contract with an abstract class and how Dart lets every class act as an interface.2 min read
13Chapter 13: Mixins and the with clauseThis chapter assumes basic Dart syntax, null safety, and familiarity with classes, methods, and inheritance. A mixin is a reusable group of methods and fields that a class can add without becoming a subclass of the mixin.2 min read
14Chapter 14: Restricting a mixin with onAssume you know basic Dart classes, inheritance, methods, and null safety. This chapter focuses on a common mixin requirement: a mixin needs specific members from the class that uses it.2 min read