ContentRecorderController constructor

ContentRecorderController({
  1. required ProImageEditorConfigs configs,
  2. bool ignoreGeneration = false,
})

Constructor to initialize the controller and set up the isolate if not running on the web.

Implementation

ContentRecorderController({
  required ProImageEditorConfigs configs,
  bool ignoreGeneration = false,
}) : _configs = configs {
  containerKey = GlobalKey();
  recorderKey = GlobalKey();
  recorderStream = StreamController();

  if (!ignoreGeneration) _initMultiThreading();
}