devbar library
Classes
- AddDevbarButton
- AddDevbarKnobs
- AddDevbarPanel
- Serves source as a panel for as long as this widget is mounted.
- DatabaseAdapter
- One database, described by what flutterware may do with it.
- DatabasePanelSource
-
Serves one DatabaseAdapter as a panel. Pure Dart — the tests drive this
against a fake adapter with no sqlite anywhere;
DatabasePluginis the thin devbar wrapper that mounts it. - DatabasePlugin
- Devbar
- Wrapper around the application to add a hidden developer UI beneath it.
- DevbarButtonHandle
-
DevbarDropdown<
T> - DevbarIcon
- DevbarPanelHandle
- One panel being served, and the only way to stop.
- DevbarPanels
- Serves a panel for as long as the handle is held.
- DevbarPanelSource
- DevbarPlugin
- DevbarState
- DevbarTab
-
FeatureFlag<
T> -
FeatureFlagValue<
T> - Knobs
- The controls an entry declares by asking for them while it builds.
- Toast
Enums
- DatabaseSync
- A sync engine the panel reads beyond the tables — what the app wrote that has not left yet, what arrived, and when — from the engine's own tables, through the same read-only DatabaseAdapter.query as everything else.
- DevbarButtonPosition
Extensions
Typedefs
-
DatabaseQuery
= Future<
List< Function(String sql, List<Map< >String, Object?> >Object?> args) -
Runs one statement and answers with its rows. The adapter's
queryshould be wired to a read path (sqlite_async'sgetAllruns on the read pool, so a write smuggled into it dies at the sqlite layer);executeis the write door and exists only when the app provides it. -
DatabaseWatch
= Stream<
List< Function(String sql)Map< >String, Object?> > -
A live query: emits the result rows now and again on every relevant
change — sqlite_async's
watchis the reference implementation. -
DevbarPluginFactory
= FutureOr<
DevbarPlugin> Function(DevbarState state)
Exceptions / Errors
- What a database function throws when there is no database to reach — no one is signed in, the session is closing, the environment is switching.