hasForeground property

bool get hasForeground

Implementation

bool get hasForeground => gradient != null || solid != null;