ScanFlash constructor
const
ScanFlash({
- Key? key,
- required ScanSession session,
- required Widget child,
- ScanFlashColors colors = const ScanFlashColors(),
- Duration duration = const Duration(milliseconds: 280),
- double opacity = 0.35,
Creates a flash overlay.
Implementation
const ScanFlash({
super.key,
required this.session,
required this.child,
this.colors = const ScanFlashColors(),
this.duration = const Duration(milliseconds: 280),
this.opacity = 0.35,
});