Venera: custom reader layouts in Flutter
Readers look like “just images” until page modes, RTL, zoom, and pre-cache collide. Venera is a useful study in custom layout + library management.
Steal this
- Page model independent of page widget.
- Aggressive adjacent-page pre-cache with memory caps.
- Library as local DB + optional remote sources.
Pitfalls
Pinch-zoom + page turn gestures fight each other; define gesture arenas early. Decode off the UI isolate.
Good reference when building any long-scroll media viewer.