ScannerAnimation constructor

const ScannerAnimation({
  1. Key? key,
  2. required Animation<double> animation,
  3. Color? scanningColor = Colors.blue,
  4. double scanningHeightOffset = 0.4,
})

Implementation

const ScannerAnimation({
  super.key,
  required Animation<double> animation,
  this.scanningColor = Colors.blue,
  this.scanningHeightOffset = 0.4,
}) : super(
        listenable: animation,
      );