isEmpty static method

bool isEmpty(
  1. DrawablePaint? paint
)

Returns whether this paint is null or equivalent to SVG's "none".

Implementation

static bool isEmpty(DrawablePaint? paint) {
  return paint == null || identical(empty, paint) || paint.color == null;
}