textBlock property

TextBlock? get textBlock

Gets or sets the TextBlock that is being edited. This property is initially null and is set in TextEditingTool#doActivate as the TextBlock at the mouse click point. However, if you set this property beforehand, TextEditingTool#doActivate will not set it, and this tool will edit the given TextBlock.

Implementation

_i3.TextBlock? get textBlock => _i4.getProperty(
      this,
      'textBlock',
    );
set textBlock (TextBlock? value)

Implementation

set textBlock(_i3.TextBlock? value) {
  _i4.setProperty(
    this,
    'textBlock',
    value ?? _i5.undefined,
  );
}