open static method
Future<String?>
open({
- String? title,
- List<
BarcodeFormat> formats = const <BarcodeFormat>[], - String? hintText,
- bool showGalleryButton = false,
Push this page and await the scanned string (or null if dismissed).
Implementation
static Future<String?> open({
String? title,
List<BarcodeFormat> formats = const <BarcodeFormat>[],
String? hintText,
bool showGalleryButton = false,
}) => UNavigator.push<String>(UScannerPage(title: title, formats: formats, hintText: hintText, showGalleryButton: showGalleryButton));