primekit_core
Core building blocks for Flutter apps — validation schemas, async state, DI, result types, and extensions.
Zero heavy dependencies — ships as a pure Flutter package.
Installation
dependencies:
primekit_core: ^1.0.0
What's included
- Result types —
Result<S, F>,PrimekitExceptionhierarchy - Async State —
AsyncStateNotifier,AsyncBuilder,PaginatedStateNotifier - Forms — Zod-like schema validation:
PkSchema,ValidationResult - DI —
ServiceLocator,PkServiceScope, module system - Extensions — String, DateTime, List, Map utilities
- Logger — Structured
PrimekitLoggerwith log levels
Documentation
License
MIT — see LICENSE.