withGradientOverlay method

Widget withGradientOverlay({
  1. required Gradient gradient,
})

Implementation

Widget withGradientOverlay({
  required Gradient gradient,
}) {
  return GradientOverlay(gradient: gradient, child: this);
}