isPlain property

bool get isPlain

Whether this paints anything beyond a flat colour.

Implementation

bool get isPlain =>
    spec.kind == BackgroundKind.solid &&
    spec.pattern == BackgroundPattern.none;