CarpenterFrameShell class final

Application shell that contributes frame capability and visual frame wrapping.

Inheritance

Constructors

CarpenterFrameShell({CarpenterTopPanelBuilder? topPanelBuilder, CarpenterTopPanelBuilder? desktopTopPanelBuilder, TargetPlatform? targetPlatform, bool useSafeArea = true, EdgeInsetsGeometry? padding, Color? backgroundColor})
Creates a shell that publishes frame runtime capability and wraps hosted content in CarpenterAppFrame.
const

Properties

backgroundColor Color?
Optional frame background color override.
final
desktopTopPanelBuilder CarpenterTopPanelBuilder?
Desktop-specific top-panel builder forwarded to CarpenterAppFrame.
final
hashCode int
The hash code for this object.
no setterinherited
id String
Stable shell identifier used for diagnostics and capability-composition errors.
no setteroverride
padding EdgeInsetsGeometry?
Optional frame content padding.
final
provides Set<Type>
Declares that successful configuration registers CarpenterFrameRuntime.
no setteroverride
requires Set<Type>
Default empty capability requirement set.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
targetPlatform TargetPlatform?
Optional frame platform override; otherwise the core runtime platform is used.
final
topPanelBuilder CarpenterTopPanelBuilder?
General top-panel builder forwarded to CarpenterAppFrame.
final
useSafeArea bool
Whether the frame keeps hosted content inside platform safe-area insets.
final

Methods

configure(CarpenterShellConfigureContext context) CarpenterRuntime
Extends the incoming runtime with frame metadata using targetPlatform or the core runtime platform.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
wrap(CarpenterShellBuildContext context, Widget child) Widget
Wraps hosted content in CarpenterAppFrame with this shell's visual options.
override

Operators

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