discontinuedPackage fluttersdk_wind_diagnostics_contracts has been discontinued and replaced by wind_kit_diagnostics_contracts.

fluttersdk_wind_diagnostics_contracts library

Pure abstract contracts for Wind UI diagnostic introspection.

Two independent contracts, each with its own registry slot.

WindDebugResolver answers per-Element questions: the runtime widget state (className, breakpoint, brightness, platform, states, bgColor, textColor) at snapshot time. WindPerfResolver answers process-wide ones: the aggregate counters (cache hits, misses, bypasses, build counts) that belong to no single element and so have nowhere to live on the first contract.

Debug-tooling packages (e.g., fluttersdk_dusk for E2E snapshots and performance sessions, future devtools-aware inspectors) consume them through WindDebugRegistry.current and WindDebugRegistry.currentPerf without ever importing wind types directly.

Neither wind nor consumers of this contract package compile-time depend on each other; this package is the neutral bridge.

Classes

WindDebugRegistry
Process-global registry for the single active WindDebugResolver and the single active WindPerfResolver.
WindDebugResolver
Resolves runtime Wind widget state for a given Element.
WindPerfResolver
Resolves aggregate Wind runtime performance statistics.