text property

String text

The text of the text symbol.

The default value is an empty string.

Implementation

String get text {
  final stringHandle = _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_TextSymbol_getText(
      _handle,
      errorHandler,
    );
  });
  return stringHandle.toDartString();
}
void text=(String value)

Implementation

set text(String value) {
  final coreValue = _CString(value);
  _withThrowingErrorHandler((errorHandler) {
    runtimecore.RT_TextSymbol_setText(
      _handle,
      coreValue.bytes,
      errorHandler,
    );
  });
}