ImageSticker constructor

const ImageSticker({
  1. String path = '',
  2. PathType pathType = PathType.none,
  3. String name = '',
  4. Size size = const Size(200.0, 200.0),
  5. ValueSetter<Sticker>? onPressed,
  6. Map<String, Object> extra = const {},
})

Implementation

const ImageSticker({
  this.path = '',
  this.pathType = PathType.none,
  String name = '',
  Size size = const Size(200.0, 200.0),
  ValueSetter<Sticker>? onPressed,
  Map<String, Object> extra = const {},
}) : super(
        name: name,
        size: size,
        onPressed: onPressed,
        extra: extra,
      );