EditorShellConfig class

Presentation-only shell configuration.

Describes whether the editor owns its surrounding chrome or is hosted inside app-provided UI such as a screen, sheet, dialog, or split pane. Shell config must not own persistence, permission, analytics, or product workflow policy.

Annotations

Constructors

EditorShellConfig({required bool hosted, required bool showDefaultAppBar, required InspectorPresentation inspectorPresentation, bool showLayersPanel = false, HostedHeaderBuilder? hostedHeaderBuilder, HostedBottomBuilder? hostedBottomBuilder, double? hostedBottomHeight})
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
hosted → bool
Hosted means the editor does not create its own Scaffold.
final
hostedBottomBuilder → HostedBottomBuilder?
Optional custom bottom panel for hosted shells.
final
hostedBottomHeight → double?
Optional explicit height for bottom panel in hosted shells.
final
hostedHeaderBuilder → HostedBottomBuilder?
Optional header for hosted shells.
final
inspectorPresentation → InspectorPresentation
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
showDefaultAppBar → bool
Only relevant when hosted=false.
final
showLayersPanel → bool
Whether the built-in layers panel should be shown when the shell has enough space.
final

Methods

copyWith({bool? hosted, bool? showDefaultAppBar, InspectorPresentation? inspectorPresentation, bool? showLayersPanel, HostedHeaderBuilder? hostedHeaderBuilder, HostedBottomBuilder? hostedBottomBuilder, double? hostedBottomHeight}) → EditorShellConfig
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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