StickIt constructor

StickIt({
  1. Key? key,
  2. required Widget child,
  3. required List<Image> stickerList,
  4. double devicePixelRatio = 3.0,
  5. double panelHeight = 200.0,
  6. Color panelBackgroundColor = Colors.black,
  7. Color panelStickerBackgroundColor = Colors.white10,
  8. int panelStickerCrossAxisCount = 4,
  9. double panelStickerAspectRatio = 1.0,
  10. bool stickerRotatable = true,
  11. double stickerSize = 100.0,
  12. double stickerMaxScale = 2.0,
  13. double stickerMinScale = 0.5,
  14. Size viewport = const Size(0.0, 0.0),
})

Implementation

StickIt(
    {Key? key,
    required this.child,
    required this.stickerList,
    this.devicePixelRatio = 3.0,
    this.panelHeight = 200.0,
    this.panelBackgroundColor = Colors.black,
    this.panelStickerBackgroundColor = Colors.white10,
    this.panelStickerCrossAxisCount = 4,
    this.panelStickerAspectRatio = 1.0,
    this.stickerRotatable = true,
    this.stickerSize = 100.0,
    this.stickerMaxScale = 2.0,
    this.stickerMinScale = 0.5,
    this.viewport = const Size(0.0, 0.0)})
    : super(key: key);