scanCode static method

Future<UCode?> scanCode({
  1. String? title,
  2. List<UCodeFormat> formats = const <UCodeFormat>[],
  3. String? hintText,
})

Opens the scanner and returns the full result (format, corners, raw bytes).

Implementation

static Future<UCode?> scanCode({String? title, List<UCodeFormat> formats = const <UCodeFormat>[], String? hintText}) => UScannerPage.openForCode(title: title, formats: formats, hintText: hintText);