Build Packages, Pub & Project Tooling in vertical slices that separate library boundaries, domain logic, I/O, and tests. Cover normal, null, empty, invalid, async-error, and cancellation cases with repeatable tests.
Build a Complete Mental Model
Build Packages, Pub & Project Tooling in vertical slices that separate library boundaries, domain logic, I/O, and tests. Cover normal, null, empty, invalid, async-error, and cancellation cases with repeatable tests.
Apply It in Modern Dart
Run and test an original Packages, Pub & Project Tooling example with null, empty, boundary, invalid, async-error, and cancellation cases. Use dart format, dart analyze, and dart test, and verify Future or Stream subscriptions and isolate boundaries where relevant.
After This Lesson
# pubspec.yaml
name: task_core
environment:
sdk: ^3.13.0
dev_dependencies:
lints: ^6.0.0
test: ^1.26.0
# Quality commands:
# dart format .
# dart analyze
# dart testA formatted, analyzed, tested Dart packageTry It Yourself
Run and test an original Packages, Pub & Project Tooling example with null, empty, boundary, invalid, async-error, and cancellation cases. Use dart format, dart analyze, and dart test, and verify Future or Stream subscriptions and isolate boundaries where relevant.
Null and Async Warning
Assuming one sample output proves every null, promotion, Future, Stream, and isolate path.
Dart 3.13 changelog — Dart