Flutter

Architecture

Each layer builds on the one beneath it and re-exports it, so an app imports from a single package.

Layers

Your app → colveor → colveor_ui → Flutter

With a backend, colveor talks to a Colveor Core API over HTTPS through its networking layer.

Responsibilities

colveor_ui
ColveorApp, config, routing, theming, base screens, widgets, icons, storage and utilities.
colveor
Bootstrap, the extended config, networking, DPoP, authentication and notifications.
Your app
Config, routes, theme, screens and product logic.

State

ColveorApp creates the Riverpod ProviderScope and overrides the config provider with your config. Package state such as the theme mode, router, auth state and notifications all live in Riverpod providers, so app code can read and override them like any other provider.