PlannerShell constructor
const
PlannerShell({
- Key? key,
- DraftDocument? document,
- SnapSettings? snap,
- List<
ShellCommand> fileCommands = const <ShellCommand>[], - String? documentName,
- ValueListenable<
bool> ? dirty, - ValueListenable<
bool> ? busy, - ShellSettleRegistrar? onSettle,
- ViewportTransform? initialCamera,
- SymbolLibraryLoader? symbols,
- SymbolThumbnails? thumbnails,
- TextEditingController? symbolSearch,
- SelectionController? selection,
- Listenable? fitRequests,
- CameraController? camera,
- bool fitOnStart = true,
- bool startFitIsRequest = false,
- VoidCallback? onFitted,
- ViewportTransform? framing(
- Size size
- int cameraEpoch()?,
- bool userCamera = true,
- void onCanvasPlaced()?,
- Widget? tableOverlays,
- FloorPlanEditorBar editorBar = const FloorPlanEditorBar(),
- ShellIdleRegistrar? onIdle,
- FloorPlanEditorCapabilities capabilities = FloorPlanEditorCapabilities.full,
- ShellToolRegistrar? onTools,
- void onToolChanged(
- FloorPlanTool tool
- bool shortcuts = true,
- bool autofocus = true,
- ShellTableInspector? tableInspector,
- ShellDeleteRegistrar? onDelete,
Implementation
const PlannerShell({
super.key,
this.document,
this.snap,
this.fileCommands = const <ShellCommand>[],
this.documentName,
this.dirty,
this.busy,
this.onSettle,
this.initialCamera,
this.symbols,
this.thumbnails,
this.symbolSearch,
this.selection,
this.fitRequests,
this.camera,
this.fitOnStart = true,
this.startFitIsRequest = false,
this.onFitted,
this.framing,
this.cameraEpoch,
this.userCamera = true,
this.onCanvasPlaced,
this.tableOverlays,
this.editorBar = const FloorPlanEditorBar(),
this.onIdle,
this.capabilities = FloorPlanEditorCapabilities.full,
this.onTools,
this.onToolChanged,
this.shortcuts = true,
this.autofocus = true,
this.tableInspector,
this.onDelete,
});