isValidColor static method

bool isValidColor(
  1. String color
)

This static function returns true if a given color string is well-formed for drawing.

Implementation

static _i2.bool isValidColor(_i2.String color) => _i4.callMethod(
      _declaredBrush,
      'isValidColor',
      [color],
    );