Use this directory for a specific lookup, or follow the learning roadmap for the full study order. The language baseline is Dart 3.14; individual lessons state a newer syntax requirement when relevant.
Dart setup and fundamentals
Install Dart, run a program and learn values, operators, strings and control flow.
- Install and verify Dart SDK
- Your first Dart project
- Variables and types
- Collections and control flow
- Operators and numbers
- Strings, parsing and interpolation
- Conditions and loops
- Types, casts and exceptions
Lists, sets, maps and iterables
Manage real collections, construct data conditionally and transform values deliberately.
Functions and reusable behavior
Name operations, choose parameter contracts and use closures and callbacks.
- Functions and named parameters
- Transforming collections
- Closures and scope
- Callbacks and function types
- Exceptions and result contracts
- Callable objects and tear-offs
Objects and null safety
Build domain models with constructors, explicit nullability and controlled mutation.
- Classes and models
- Null safety
- Constructors and factories
- Getters, setters and privacy
- Enums and domain states
- Immutable models and copyWith
Records, patterns and switch
Return typed groups of values and match structured data without unchecked casts.
- Records and destructuring
- Switch expressions and guards
- JSON patterns and validation
- Sealed results and exhaustive handling
Object-oriented Dart and generic APIs
Use interfaces, mixins, generics, equality and class modifiers with clear boundaries.
- Interfaces, inheritance and composition
- Generics and bounds
- Mixins and reuse
- Extension methods and operators
- Class modifiers
- Equality and hashing
- Extension types
- Inheritance, super and overrides
- Variance and runtime checks
Asynchronous Dart
Understand futures, streams, ordering, failures and subscription ownership.
- Futures and errors
- Streams and subscriptions
- Event loop and microtasks
- Parallel futures and timeouts
- Stream lifecycle and errors
- Generators and transformations
JSON, HTTP, files and command-line apps
Read and validate data, call services and use local files with explicit resource ownership.
- JSON and typed models
- Dates, URIs and regular expressions
- Files, directories and cleanup
- HTTP clients and failures
- Command-line input and exit codes
Packages, libraries and workspaces
Manage dependencies, library boundaries, package contracts and shared code.
Modern Dart 3.14
Learn current syntax, version boundaries, migration tooling and stable versus preview features.
- Dart 3.14 overview
- Primary and concise constructors
- Private named parameters
- Dot shorthands
- SDK migration and analysis
- Promotion, Never and late
Isolates and performance
Move CPU work deliberately, exchange messages and measure before optimizing.
Dart testing and quality
Test calculations, asynchronous behavior and HTTP boundaries with deterministic examples.
Dart backend development
Build a REST API with Shelf, validate requests and plan authentication, persistence and deployment.
- Backend architecture and framework choice
- Your first Shelf server
- REST routes and pagination
- Request validation and errors
- Middleware, CORS and logging
- Authentication and authorization
- PostgreSQL and transactions
- Realtime and background work
- Backend deployment and operations
Dart web, native and AI integration
Choose platform boundaries for JS/Wasm, native bindings and AI tooling.
Practical Dart projects
Apply the language to an expense report, task API and shared client/server contract.
Dart interview questions
Explain code behavior and engineering decisions through practical interview scenarios.
- Basic Dart interview practice
- Intermediate Dart interview practice
- Advanced and backend interview practice
Dart errors and solutions
Diagnose SDK constraints, type errors, asynchronous bugs and server startup failures.