BodyWrapper constructor

const BodyWrapper({
  1. Key? key,
  2. required Widget child,
  3. Color backgroundCOlor = Colors.transparent,
  4. String? bgOverlay,
  5. bool showOverlay = true,
  6. Alignment alignment = Alignment.topCenter,
  7. Gradient? gradient,
  8. double? heightFactor,
  9. EdgeInsetsGeometry? padding,
})

Implementation

const BodyWrapper({
  super.key,
  required this.child,
  this.backgroundCOlor = Colors.transparent,
  this.bgOverlay,
  this.showOverlay = true,
  this.alignment = Alignment.topCenter,
  this.gradient,
  this.heightFactor,
  this.padding,
});