workbench/views/dual_theme_view library

DualThemeView widget for the Component Workbench.

Shows both light and dark theme instances side by side. Can toggle between vertical (top/bottom) and horizontal (left/right) layouts.

Phase 3.2: This widget now owns the shared component states. Both light and dark PlaygroundHome instances receive the same states.

Classes

DualThemeView
Layout showing both light and dark theme instances Can toggle between vertical (top/bottom) and horizontal (left/right) layouts
DualThemeViewState
Public state class for typed GlobalKey access from WorkbenchShell. Phase 3.2: Now owns component states (lifted from PlaygroundHome).