addFontColor static method

TextStyle addFontColor(
  1. TextStyle textStyle,
  2. String value
)

Creates a TextStyle to handle CSS color

Implementation

static TextStyle addFontColor(TextStyle textStyle, String value) {
  return textStyle.copyWith(color: _convertColor(value));
}