discontinuedPackage jet_cad_floor_plan has been discontinued and replaced by jet_cad_2d_plan.

PlannerShell constructor

const PlannerShell({
  1. Key? key,
  2. DraftDocument? document,
  3. SnapSettings? snap,
  4. List<ShellCommand> fileCommands = const <ShellCommand>[],
  5. String? documentName,
  6. ValueListenable<bool>? dirty,
  7. ValueListenable<bool>? busy,
  8. ShellSettleRegistrar? onSettle,
  9. ViewportTransform? initialCamera,
  10. SymbolLibraryLoader? symbols,
  11. SymbolThumbnails? thumbnails,
  12. TextEditingController? symbolSearch,
  13. SelectionController? selection,
  14. Listenable? fitRequests,
  15. CameraController? camera,
  16. bool fitOnStart = true,
  17. bool startFitIsRequest = false,
  18. VoidCallback? onFitted,
  19. ViewportTransform? framing(
    1. Size size
    )?,
  20. int cameraEpoch()?,
  21. bool userCamera = true,
  22. void onCanvasPlaced(
    1. Object view,
    2. Rect? global
    )?,
  23. Widget? tableOverlays,
  24. FloorPlanEditorBar editorBar = const FloorPlanEditorBar(),
  25. ShellIdleRegistrar? onIdle,
  26. FloorPlanEditorCapabilities capabilities = FloorPlanEditorCapabilities.full,
  27. ShellToolRegistrar? onTools,
  28. void onToolChanged(
    1. FloorPlanTool tool
    )?,
  29. bool shortcuts = true,
  30. bool autofocus = true,
  31. ShellTableInspector? tableInspector,
  32. 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,
});