DartBlockEditor constructor

const DartBlockEditor({
  1. Key? key,
  2. required DartBlockProgram program,
  3. required bool canChange,
  4. required bool canDelete,
  5. required bool canReorder,
  6. required bool canRun,
  7. Duration? maximumExecutionDuration,
  8. bool isDense = false,
  9. ScrollController? scrollController,
  10. dynamic onChanged(
    1. DartBlockProgram changedDartBlockProgram
    )?,
  11. dynamic onInteraction(
    1. DartBlockInteraction dartBlockInteraction
    )?,
  12. EdgeInsets? padding,
})

Implementation

const DartBlockEditor({
  super.key,
  required this.program,
  required this.canChange,
  required this.canDelete,
  required this.canReorder,
  required this.canRun,
  this.maximumExecutionDuration,
  this.isDense = false,
  this.scrollController,
  this.onChanged,
  this.onInteraction,
  this.padding,
});