DartBlockEditorInheritedWidget constructor

DartBlockEditorInheritedWidget({
  1. Key? key,
  2. required DartBlockProgram program,
  3. required DartBlockExecutor executor,
  4. required Widget child,
  5. bool canChange = true,
  6. bool canDelete = true,
  7. bool canReorder = true,
  8. required bool isDraggingToolboxItem,
  9. required Statement? copiedStatement,
  10. required bool isCopiedStatementCut,
})

Implementation

DartBlockEditorInheritedWidget({
  super.key,
  required this.program,
  required this.executor,
  required super.child,
  this.canChange = true,
  this.canDelete = true,
  this.canReorder = true,
  required bool isDraggingToolboxItem,
  required this.copiedStatement,
  required this.isCopiedStatementCut,
}) : isDraggingToolboxItem = ValueNotifier(isDraggingToolboxItem);