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