StickerEditorConfigs constructor

const StickerEditorConfigs({
  1. required BuildStickers buildStickers,
  2. dynamic onSearchChanged(
    1. String value
    )?,
  3. double initWidth = 100,
  4. bool enabled = false,
})

Creates an instance of StickerEditorConfigs with optional settings.

By default, the editor is disabled (if not specified), and other properties are set to reasonable defaults.

Implementation

const StickerEditorConfigs({
  required this.buildStickers,
  this.onSearchChanged,
  this.initWidth = 100,
  this.enabled = false,
}) : assert(initWidth > 0, 'initWidth must be positive');