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

Properties

animateOnError bool
final
animateOnSuccess bool
final
animation Animation<double>?
final
background Widget?
final
borderColor Color
final
borderRadius double
final
cornerLength double
final
cornerRadius double
final
curve Cubic?
final
errorColor Color
final
hashCode int
The hash code for this object.
no setterinherited
lineThickness double
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scannerBorder ScannerBorder
final
scannerBorderPulseEffect ScannerBorderPulseEffect
final
scannerLineAnimation ScannerLineAnimation
final
scannerLineAnimationColor Color
final
scannerLineanimationDuration Duration
final
scannerOverlayBackground ScannerOverlayBackground
final
scannerOverlayBackgroundColor Color
final
scannerScanArea ScannerScanArea
final
successColor Color
final

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

Operators

operator ==(Object other) bool
The equality operator.
inherited