SaifuQR constructor
SaifuQR({
- Key? key,
- required dynamic data,
- int charPerFrame = 100,
- bool splitData = false,
- int errorCorrectionalLevel = QrErrorCorrectLevel.L,
- double transitionDuration = 500,
- double? fade,
- double scale = 1.0,
- double itemHeight = 300,
- double itemWidth = 300,
- bool loop = true,
- bool autoplay = true,
- int autoplayDelay = 0,
- double viewportFraction = 0.8,
- Axis scrollDirection = Axis.horizontal,
- Color backgroundColor = Colors.white,
- Color foregroundColor = Colors.black,
- double borderRadius = 10,
- 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);