StudioV2Controller class

Central Controller coordinating Studio v2 navigation, state mutation, and persistence.

Constructors

StudioV2Controller({StudioV2Registry? registry, StudioPersistenceDriver? persistenceDriver, StudioV2State? initialState})

Properties

hashCode → int
The hash code for this object.
no setterinherited
persistenceDriver → StudioPersistenceDriver
final
registry → StudioV2Registry
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
state → StudioV2State
no setter

Methods

addListener(void listener(StudioV2State)) → void
loadWorkspace(String workspaceId) → Future<bool>
Restore workspace state from storage driver.
Switch the active navigation section.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeListener(void listener(StudioV2State)) → void
resetConfiguration() → void
Reset configuration to initial defaults.
saveWorkspace() → Future<void>
Persist current workspace state via storage driver.
toggleDiagnosticsOverlay() → void
Toggle visibility of the diagnostics overlay.
toggleFavoriteLoader(String loaderId) → void
Toggle favorite status of a loader.
toggleLivePreviewPause() → void
Toggle pause/resume state of the live preview engine.
toString() → String
A string representation of this object.
inherited
triggerAction(String actionId) → bool
Execute a registered Studio action.
updateConfiguration(StudioConfigurationDescriptor updater(StudioConfigurationDescriptor)) → void
Update loader / component preview configuration.

Operators

operator ==(Object other) → bool
The equality operator.
inherited