StickIt constructor
StickIt({
- Key? key,
- required Widget child,
- required List<
Image> stickerList, - double devicePixelRatio = 3.0,
- double panelHeight = 200.0,
- Color panelBackgroundColor = Colors.black,
- Color panelStickerBackgroundColor = Colors.white10,
- int panelStickerCrossAxisCount = 4,
- double panelStickerAspectRatio = 1.0,
- bool stickerRotatable = true,
- double stickerSize = 100.0,
- double stickerMaxScale = 2.0,
- double stickerMinScale = 0.5,
- 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);