ParallaxWidget constructor
const
ParallaxWidget({
- Key? key,
- required Widget child,
- Widget? background,
- double overflowWidthFactor = 2,
- double overflowHeightFactor = 2,
- bool fixedHorizontal = false,
- bool fixedVertical = false,
- bool inverted = false,
- Alignment alignment = Alignment.center,
- bool clipOverflow = true,
- bool showDebugInfo = false,
- 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);