defaultTool property

Tool defaultTool

Gets or sets the default tool for this Diagram that becomes the current tool when the current tool stops. Initially this value is the same tool as #toolManager, which is an instance of ToolManager.

Setting this property also sets the #currentTool if the old default tool is the currently running tool.

Setting this property does not notify about any changed event. The value cannot be null and must not be shared with other Diagrams.

Implementation

_i3.Tool get defaultTool => _i4.getProperty(
      this,
      'defaultTool',
    );
void defaultTool=(Tool value)

Implementation

set defaultTool(_i3.Tool value) {
  _i4.setProperty(
    this,
    'defaultTool',
    value,
  );
}