GetInteractiveViewer constructor

const GetInteractiveViewer({
  1. required Widget child,
  2. double minScale = 1.0,
  3. double maxScale = 2.5,
  4. Color barrierColor = Colors.black,
  5. Color? backgroundColor,
  6. bool enabled = true,
  7. Key? key,
})

Create an GetInteractiveViewer.

The child parameter must not be null.

Implementation

const GetInteractiveViewer({
  required this.child,
  this.minScale = 1.0,
  this.maxScale = 2.5,
  this.barrierColor = Colors.black,
  this.backgroundColor,
  this.enabled = true,
  Key? key,
}) : super(key: key);