TextSticker constructor

const TextSticker({
  1. String text = '',
  2. TextStyle? style,
  3. bool withBackground = false,
  4. TextAlign? textAlign,
  5. Size size = const Size(200.0, 200.0),
  6. ValueSetter<Sticker>? onPressed,
  7. Map<String, Object> extra = const {},
})

Implementation

const TextSticker({
  this.text = '',
  this.style,
  this.withBackground = false,
  this.textAlign,
  Size size = const Size(200.0, 200.0),
  ValueSetter<Sticker>? onPressed,
  Map<String, Object> extra = const {},
}) : super(
        size: size,
        onPressed: onPressed,
        extra: extra,
      );