ScannerEffect constructor
const
ScannerEffect({})
Creates a scanner-style reveal animation.
duration — one full scan cycle duration.
curve — easing curve for the scan.
scanColor — color of the bright scan highlight.
scanWidth — bright scan band width as fraction of text.
glowWidth — trailing glow width as fraction of text.
delayBetweenChars — stagger (zero for smooth scan sweep).
Implementation
const ScannerEffect({
super.duration = const Duration(milliseconds: 1200),
super.curve = Curves.easeInOut,
this.scanColor = Colors.cyan,
this.scanWidth = 0.15,
this.glowWidth = 0.3,
super.delayBetweenChars = Duration.zero,
});