DartBasic 3 min read

Dart topic reference: language, backend and tooling

Find Dart syntax, object design, async, modern features, backend, testing and project tutorials by topic.

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.

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.

Objects and null safety

Build domain models with constructors, explicit nullability and controlled mutation.

Records, patterns and switch

Return typed groups of values and match structured data without unchecked casts.

Object-oriented Dart and generic APIs

Use interfaces, mixins, generics, equality and class modifiers with clear boundaries.

Asynchronous Dart

Understand futures, streams, ordering, failures and subscription ownership.

JSON, HTTP, files and command-line apps

Read and validate data, call services and use local files with explicit resource ownership.

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.

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.

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.

Dart errors and solutions

Diagnose SDK constraints, type errors, asynchronous bugs and server startup failures.

Find your next idea

Search lessons, code examples and projects.

Type a few words to start exploring.