StickerEditorConfigs constructor
const
StickerEditorConfigs({
- required BuildStickers buildStickers,
- dynamic onSearchChanged(
- String value
- double initWidth = 100,
- 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');