GscanOverlayConfig class
Constructors
-
GscanOverlayConfig({ScannerScanArea scannerScanArea = ScannerScanArea.center, ScannerOverlayBackground scannerOverlayBackground = ScannerOverlayBackground.blur, Color scannerOverlayBackgroundColor = CupertinoColors.systemFill, ScannerBorder scannerBorder = ScannerBorder.visible, Color borderColor = CupertinoColors.white, double borderRadius = _kBorderRadius, double cornerRadius = _kBorderRadius, double cornerLength = 60.0, ScannerBorderPulseEffect scannerBorderPulseEffect = ScannerBorderPulseEffect.enabled, ScannerLineAnimation scannerLineAnimation = ScannerLineAnimation.enabled, Color scannerLineAnimationColor = CupertinoColors.systemRed, Duration scannerLineanimationDuration = const Duration(milliseconds: 1500), double lineThickness = 4, Cubic? curve, Widget? background, Animation<double>? animation, Color successColor = CupertinoColors.systemGreen, Color errorColor = CupertinoColors.systemRed, bool animateOnSuccess = true, bool animateOnError = true})
-
const
Methods
-
copyWith({ScannerScanArea? scannerScanArea, ScannerOverlayBackground? scannerOverlayBackground, Color? scannerOverlayBackgroundColor, ScannerBorder? scannerBorder, Color? borderColor, double? borderRadius, double? cornerRadius, double? cornerLength, ScannerBorderPulseEffect? scannerBorderPulseEffect, ScannerLineAnimation? scannerLineAnimation, Color? scannerLineAnimationColor, Duration? scannerLineanimationDuration, double? lineThickness, Cubic? curve, Animation<double>? animation, Widget? background, Color? successColor, Color? errorColor, bool? animateOnSuccess, bool? animateOnError})
→ GscanOverlayConfig
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited