commentMargin property

num commentMargin

Gets or sets the distance between a node and its comments.

The default value is 20.

This is used by #addComments and #layoutComments.

This sets the #rootDefaults' property of the same name.

Implementation

_i2.num get commentMargin => _i4.getProperty(
      this,
      'commentMargin',
    );
void commentMargin=(num value)

Implementation

set commentMargin(_i2.num value) {
  _i4.setProperty(
    this,
    'commentMargin',
    value,
  );
}