corehead 0.0.1
corehead: ^0.0.1 copied to clipboard
Core state-management and router for Flutter (context-free, audit-logged, 31 kB)
Corehead – State-Management & Router for Flutter #
Corehead gives you compile-safe, context-free state and navigation in a single 31 kB package.
Features #
- Zero-context router –
AppRouter().toDetail(id: 42)from anywhere - Built-in audit log – every state + route change is replayable
- Hydration – survive app kill with one mixin
- Fine-grained rebuilds –
ref.watch(corehead.select(...)) - Auto-dispose – memory leaks impossible by default
- Time-travel debugger – DevTools slider rewinds both UI and navigation
- Isolate-ready – heavy parsing can spawn to background isolate
- Flutter-Community governed – multi-maintainer, Google-approved
Install #
dependencies:
corehead: ^0.0.1