DartBlockToolbox constructor

const DartBlockToolbox({
  1. Key? key,
  2. bool isTransparent = false,
  3. bool isDocked = true,
  4. bool canUndock = true,
  5. bool isShowingCode = false,
  6. bool showActions = true,
  7. bool isExecuting = false,
  8. required List<String> existingFunctionNames,
  9. dynamic onToolboxItemDragStart(
    1. StatementType statementType
    )?,
  10. dynamic onToolboxItemDragEnd(
    1. StatementType statementType
    )?,
  11. dynamic onToolboxDragStart(
    1. DragStartDetails
    )?,
  12. dynamic onToolboxDragEnd(
    1. DragEndDetails
    )?,
  13. dynamic onToolboxDragUpdate(
    1. DragUpdateDetails
    )?,
  14. dynamic onRun()?,
  15. bool canAddFunction = false,
  16. required dynamic onCreateFunction(
    1. DartBlockCustomFunction
    ),
  17. required dynamic onAction(
    1. ToolboxExtraAction action
    ),
  18. required dynamic onCodeViewAction(
    1. CodeViewAction action
    ),
  19. required BorderRadius borderRadius,
})

Implementation

const DartBlockToolbox({
  super.key,
  this.isTransparent = false,
  this.isDocked = true,
  this.canUndock = true,
  this.isShowingCode = false,
  this.showActions = true,
  this.isExecuting = false,
  required this.existingFunctionNames,
  this.onToolboxItemDragStart,
  this.onToolboxItemDragEnd,
  this.onToolboxDragStart,
  this.onToolboxDragEnd,
  this.onToolboxDragUpdate,
  this.onRun,
  this.canAddFunction = false,
  required this.onCreateFunction,
  required this.onAction,
  required this.onCodeViewAction,
  required this.borderRadius,
});