stubfontColor property

String get stubfontColor

Constructs a string stub for the fontColor, if one is provided and non-null.

Implementation

String get stubfontColor => switch (fontColor) {
  null => '',
  final String s => 'fontcolor=${quote(s)}',
};