hasBackground method

bool hasBackground()

Implementation

bool hasBackground() =>
    backgroundColor != null ||
    backgroundImage != null ||
    backgroundGradient != null;