LindiController constructor

LindiController({
  1. required List<LindiStickerIcon> icons,
  2. Color borderColor = Colors.white,
  3. double borderWidth = 1.5,
  4. bool showBorders = true,
  5. bool shouldMove = true,
  6. bool shouldRotate = true,
  7. bool shouldScale = true,
  8. double minScale = 0.5,
  9. double maxScale = 4,
  10. double insidePadding = 13,
})

Constructor to initialize properties with default values.

Implementation

LindiController(
    {required this.icons,
    this.borderColor = Colors.white,
    this.borderWidth = 1.5,
    this.showBorders = true,
    this.shouldMove = true,
    this.shouldRotate = true,
    this.shouldScale = true,
    this.minScale = 0.5,
    this.maxScale = 4,
    this.insidePadding = 13}) {
  onPositionChange();
}