SaifuQR constructor

SaifuQR({
  1. Key? key,
  2. required dynamic data,
  3. int charPerFrame = 100,
  4. bool splitData = false,
  5. int errorCorrectionalLevel = QrErrorCorrectLevel.L,
  6. double transitionDuration = 500,
  7. double? fade,
  8. double scale = 1.0,
  9. double itemHeight = 300,
  10. double itemWidth = 300,
  11. bool loop = true,
  12. bool autoplay = true,
  13. int autoplayDelay = 0,
  14. double viewportFraction = 0.8,
  15. Axis scrollDirection = Axis.horizontal,
  16. Color backgroundColor = Colors.white,
  17. Color foregroundColor = Colors.black,
  18. double borderRadius = 10,
  19. double qrPadding = 10,
})

Implementation

SaifuQR(
    {Key? key,
    required this.data,
    this.charPerFrame = 100,
    this.splitData = false,
    this.errorCorrectionalLevel = QrErrorCorrectLevel.L,
    this.transitionDuration = 500,
    this.fade,
    this.scale = 1.0,
    this.itemHeight = 300,
    this.itemWidth = 300,
    this.loop = true,
    this.autoplay = true,
    this.autoplayDelay = 0,
    this.viewportFraction = 0.8,
    this.scrollDirection = Axis.horizontal,
    this.backgroundColor = Colors.white,
    this.foregroundColor = Colors.black,
    this.borderRadius = 10,
    this.qrPadding = 10})
    : super(key: key);