AutoPanOnDragOptions constructor

const AutoPanOnDragOptions({
  1. bool enabled = true,
  2. EdgeInsets safePadding = const EdgeInsets.all(16),
  3. double minStepPx = 6.0,
  4. double maxStepPx = 36.0,
  5. double gain = 0.25,
  6. bool animated = true,
  7. Duration animationDuration = const Duration(milliseconds: 250),
})

Implementation

const AutoPanOnDragOptions({
  this.enabled = true,
  this.safePadding = const EdgeInsets.all(16),
  this.minStepPx = 6.0,
  this.maxStepPx = 36.0,
  this.gain = 0.25,
  this.animated = true,
  this.animationDuration = const Duration(milliseconds: 250),
});