StickerEditingBox constructor

const StickerEditingBox({
  1. Key? key,
  2. required double boundWidth,
  3. required double boundHeight,
  4. required PictureModel pictureModel,
  5. dynamic onTap()?,
  6. dynamic onCancel()?,
})

Create a StickerEditingBox widget

pictureModel detail of your picture onTap callback function that called when you tap on StickerEditingBox onCancel callback function that called when you tap on Cross icon in StickerEditingBox border

Implementation

const StickerEditingBox(
    {Key? key,
    required this.boundWidth,
    required this.boundHeight,
    required this.pictureModel,
    this.onTap,
    this.onCancel})
    : super(key: key);