The engineering notebook
RSS feed#dart
Articles, practical guides, and engineering notes on dart.
By Ashish Bhakhand 108 published articles
Explore the articles
5 articles
Reset filtersWhy I Use RxDart Selectively Instead of Making Everything Reactive
Use RxDart where Flutter stream timing matters: debounced search, noisy connectivity, combined sources, and latest-value behavior.
Why I Use Freezed and json_serializable for Different Jobs
Separate API payloads from domain objects in Flutter while using json_serializable for wire data and Freezed for immutable application models.
Typed Failures in Dart Without Going Full Functional
Handle expected failures in Dart with clear result types, practical repository examples, and exhaustive UI states.
Better Dart Models with Enums: From Safer States to Rich Domain Types
Replace fragile strings with type-safe Dart enums, use exhaustive switches, and learn when enhanced enums make Flutter code clearer-and when they do not.
Mastering Null Safety in Dart: A Practical Guide for Flutter Developers
Learn how Dart's type system, flow analysis, null-aware operators, and API design work together to prevent null errors in real Flutter applications.