ZoomableList constructor

ZoomableList({
  1. Key? key,
  2. required Widget child,
  3. GlobalKey<State<StatefulWidget>>? childKey,
  4. double maxScale = 1.4,
  5. bool enablePan = true,
  6. bool enableZoom = true,
  7. double? maxWidth,
  8. double maxHeight = double.infinity,
  9. int zoomSteps = 0,
  10. bool enableFling = true,
  11. double flingFactor = 1.0,
  12. VoidCallback? onTap,
})

Implementation

ZoomableList({
  Key? key,
  required this.child,
  this.childKey,
  this.maxScale: 1.4,
  this.enablePan: true,
  this.enableZoom: true,
  this.maxWidth,
  this.maxHeight: double.infinity,
  this.zoomSteps: 0,
  this.enableFling: true,
  this.flingFactor: 1.0,
  this.onTap,
}) : super(key: key);