text property

String get text

The text to show for the entry. You can embed icons in the text by leveraging the syntax:

My text $(icon-name) contains icons like $(icon-name) this one.

Where the icon-name is taken from the ThemeIcon icon set, e.g. light-bulb, thumbsup, zap etc.

Implementation

_i2.String get text => _i5.getProperty(
      this,
      'text',
    );
set text (String value)

Implementation

set text(_i2.String value) {
  _i5.setProperty(
    this,
    'text',
    value,
  );
}