BlurEditorConfigs constructor

const BlurEditorConfigs({
  1. bool enabled = true,
  2. bool showLayers = true,
  3. double maxBlur = 5.0,
})

Creates an instance of BlurEditorConfigs with optional settings.

By default, the editor is enabled, and max blur is 5.0.

Implementation

const BlurEditorConfigs({
  this.enabled = true,
  this.showLayers = true,
  this.maxBlur = 5.0,
}) : assert(maxBlur > 0, 'maxBlur must be positive');