App
Application architecture, client state, user experience, portability, and incremental improvement.
Articles
12 totalDart factory vs named constructor: Reuse an existing object from a cache
Compare a generative named constructor with a factory that parses and validates a port number, then returns a cached instance.
App3 min
Flutter state changes but the UI stays the same: Check setState and build
Use one counter to separate a changed State field from a scheduled rebuild, then check whether build reads the field that changed.
App3 min
Dart private underscore scope: Why another class can read it but an import cannot
Dart underscore names are library-private, not class-private. Compare a helper in the same file, an importing file, and a part file.
App3 min
Why a Dart executable stays on v1 after the source changes: JIT vs AOT
Run one Dart file with dart run and compile exe, change v1 to v2, and see why an existing AOT executable needs to be rebuilt while runtime arguments still work.
App3 min
Flutter Implicit vs. Explicit Animations: When to Use AnimationController
Choose AnimatedContainer for simple property changes and AnimationController when timing, pausing, reversing, or synchronization needs direct control.
App2 min
Dart extends vs implements: Why must you implement the method again?
Compare inheritance of a concrete method with implementing its interface, using one Label example and the resulting analyzer error.
App2 min
Flutter pub add and Version Constraints: Avoid Dependency Conflicts
Understand how pubspec.yaml and pubspec.lock differ, read a caret version constraint, and verify updates before a platform build.
App3 min
Dart named and redirecting constructors: Share one initialization rule
Compare a manually initialized Notice.error constructor with a redirecting this(...) constructor to see how duplicated field rules drift apart.
App2 min
Dart var vs dynamic: Type inference and when errors appear
Compare a String inferred from var with dynamic JSON input, then use Object? and an is String check to catch a numeric label before calling a method.
App3 min

