ParallaxWidget constructor

const ParallaxWidget({
  1. Key? key,
  2. required Widget child,
  3. Widget? background,
  4. double overflowWidthFactor = 2,
  5. double overflowHeightFactor = 2,
  6. bool fixedHorizontal = false,
  7. bool fixedVertical = false,
  8. bool inverted = false,
  9. Alignment alignment = Alignment.center,
  10. bool clipOverflow = true,
  11. bool showDebugInfo = false,
  12. EdgeInsets parallaxPadding = EdgeInsets.zero,
})

Implementation

const ParallaxWidget({
  Key? key,
  required this.child,
  this.background,
  this.overflowWidthFactor = 2,
  this.overflowHeightFactor = 2,
  this.fixedHorizontal = false,
  this.fixedVertical = false,
  this.inverted = false,
  this.alignment = Alignment.center,
  this.clipOverflow = true,
  this.showDebugInfo = false,
  this.parallaxPadding = EdgeInsets.zero,
}) : super(key: key);