copyWith method
EditorShellConfig
copyWith({
- bool? hosted,
- bool? showDefaultAppBar,
- InspectorPresentation? inspectorPresentation,
- bool? showLayersPanel,
- HostedHeaderBuilder? hostedHeaderBuilder,
- HostedBottomBuilder? hostedBottomBuilder,
- double? hostedBottomHeight,
Implementation
EditorShellConfig copyWith({
bool? hosted,
bool? showDefaultAppBar,
InspectorPresentation? inspectorPresentation,
bool? showLayersPanel,
HostedHeaderBuilder? hostedHeaderBuilder,
HostedBottomBuilder? hostedBottomBuilder,
double? hostedBottomHeight,
}) {
return EditorShellConfig(
hosted: hosted ?? this.hosted,
showDefaultAppBar: showDefaultAppBar ?? this.showDefaultAppBar,
inspectorPresentation:
inspectorPresentation ?? this.inspectorPresentation,
showLayersPanel: showLayersPanel ?? this.showLayersPanel,
hostedHeaderBuilder: hostedHeaderBuilder ?? this.hostedHeaderBuilder,
hostedBottomBuilder: hostedBottomBuilder ?? this.hostedBottomBuilder,
hostedBottomHeight: hostedBottomHeight ?? this.hostedBottomHeight,
);
}