stroke property

dynamic get stroke

Gets or sets the Brush or string that describes the stroke (color) of the text that is drawn.

The default value is "black". Any valid CSS string can specify a solid color, and the Brush class can be used to specify a gradient or pattern. More information about the syntax of CSS color strings is available at: CSS colors (mozilla.org).

Implementation

_i2.dynamic get stroke => _i4.getProperty(
      this,
      'stroke',
    );
set stroke (dynamic value)

Implementation

set stroke(_i2.dynamic value) {
  _i4.setProperty(
    this,
    'stroke',
    value,
  );
}