name property

String get name

Gets or sets the name of this tool. The default name is an empty string, but the constructor for each instance of a subclass of Tool will initialize it appropriately. For example, the name of the DragSelectingTool is "DragSelecting".

This name is sometimes used by tools that use Adornments as the Part#category for their Adornments. It is also sometimes used by tools that conduct transactions as the transaction name.

Implementation

_i2.String get name => _i4.getProperty(
      this,
      'name',
    );
set name (String value)

Implementation

set name(_i2.String value) {
  _i4.setProperty(
    this,
    'name',
    value,
  );
}