ScreenRecorderController constructor

ScreenRecorderController({
  1. Exporter? exporter,
  2. double pixelRatio = 0.5,
  3. int skipFramesBetweenCaptures = 2,
  4. SchedulerBinding? binding,
})

Implementation

ScreenRecorderController({
  Exporter? exporter,
  this.pixelRatio = 0.5,
  this.skipFramesBetweenCaptures = 2,
  SchedulerBinding? binding,
})  : _containerKey = GlobalKey(),
      _binding = binding ?? SchedulerBinding.instance,
      exporter = exporter ?? GifExporter();