predominantGradient static method

Background predominantGradient([
  1. PredominantGradientBackground? predominantGradientBackground
])

Implementation

static Background predominantGradient(
    [PredominantGradientBackground? predominantGradientBackground]) {
  if (predominantGradientBackground != null) {
    return predominantGradientBackground;
  }
  return PredominantGradientBackground();
}