Website logo

Complete Reference 2.0

Part 1

The first part is about the Dart 3 programming language. It has eight chapters:

Chapter 2 - Variables and types

  • Variables
  • Data types
  • Data type operators

Chapter 3 - Control flow and functions

  • control flow and loops
  • functions and assertions
  • type aliases

Chapter 4 - Classes

  • Constructors, getters and setters
  • Operators overload
  • Annotations and mirrors

Chapter 5 - Inheritance, core classes and exceptions

  • Inheritance
  • The Object class
  • Exceptions and errors

Chapter 6 - Generics and collections

  • Introduction
  • Collections
  • Good practices

Chapter 7 - Advanced language features

  • Class modifiers
  • Patterns
  • Exhaustiveness checking

Chapter 8 - Futures, Streams and Isolates

  • Futures
  • Streams
  • Isolates

Chapter 9 - API overview and tests

  • Dart core libraries
  • Testing Dart code
  • Good practices

Part 2

The second part is about the Flutter 3.10 framework. It has ten chapters:

Chapter 10 - Flutter, widgets and trees

  • Flutter overview
  • Widgets
  • Widget, Element and RenderObject trees

Chapter 11 - Material, Cupertino and CustomPaint

  • Basic widgets
  • Material and Cupertino library
  • Custom painters

Chapter 12 - State management

  • Using setState
  • Using InheritedWidget
  • State restoration

Chapter 13 - Routes and navigation

  • Imperative and declarative navigation
  • The go_router package
  • Deep linking and comparisons

Chapter 14 - Layouts and responsiveness

  • Layouts in Flutter
  • Building responsive layouts
  • Scrolling widgets and Slivers

Chapter 15 - Internationalization and accessibility

  • Internationalization
  • Accessibility
  • The intl package

Chapter 16 - Assets and images

  • Defining assets
  • Images in Flutter
  • Using custom fonts

Chapter 17 - Animations

  • Implicit animations
  • Explicit animations
  • Good practices

Chapter 18 - Forms and gestures

  • Form input widgets
  • Handling forms
  • Gestures

Chapter 19 - Testing Flutter applications

  • Widget testing
  • Golden tests
  • Integration tests

Part 3

The third part is about the Dart and Flutter ecosystems. It has four chapters:

Chapter 20 - Creating and maintaining a package

  • Package creation
  • Package maintenance
  • Publishing packages at pub.dev

Chapter 21 - Creating and maintaining a Flutter app

  • Flutter project creation
  • Maintaining a Flutter project
  • Creating release builds

Chapter 22 - HTTP servers and low-level HTML

  • Creating HTTP servers
  • The shelf package
  • HTML manipulation with dart:html

Chapter 23 - Platform interactions

  • Platform specific features
  • Creating plugin packages
  • Creating FFI plugin packages

Extra

There are some extra contents on the book.

Chapter 1 - Introduction

  • Dart introduction
  • Flutter introduction

Appendix

  • DevTools
  • Performance best practices
Home page icon Book overview icon Buy book icon