CustomScanner constructor

const CustomScanner({
  1. Key? key,
  2. dynamic onDetect(
    1. String
    )?,
})

Scanner 扫码组件

Implementation

const CustomScanner({super.key, this.onDetect});