GradientBackground constructor

const GradientBackground({
  1. Key? key,
  2. Widget? child,
  3. Alignment begin = Alignment.topCenter,
  4. Alignment end = Alignment.bottomCenter,
})

Implementation

const GradientBackground({
  Key? key,
  this.child,
  this.begin = Alignment.topCenter,
  this.end = Alignment.bottomCenter,
}) : super(key: key);