ScanButton constructor

const ScanButton({
  1. Key? key,
  2. required Function onTap,
})

Implementation

const ScanButton({super.key, required this.onTap});