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