karaboga.dev Notes

Notes from real projects

Flutter, Dart and the tooling around them. Each note starts from something that happened in my work — what broke, what worked — with the code and the versions it applies to.

  1. Headless Chrome won’t go below 500px wide: three fixes

    A 390px screenshot is a cropped 500px layout. Measured in Chrome 151, with three ways to get a real narrow viewport.

  2. A Flutter offline sync queue on Hive CE, gaps included

    How queued writes are stored, ordered, retried and dropped — and the conflict and idempotency handling left out.