Parallax constructor

const Parallax({
  1. Key? key,
  2. double? height,
  3. double? width,
  4. required List<ParallaxItem> items,
  5. bool enableDrag = false,
})

Implementation

const Parallax({
  Key? key,
  this.height,
  this.width,
  required this.items,
  this.enableDrag = false,
}) : super(key: key);