Sfoglia il codice sorgente

style: typo

flutter-beta
Julian Steenbakker 5 anni fa
parent
commit
30991e741a
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      lib/src/qr_code_scanner.dart

+ 1
- 1
lib/src/qr_code_scanner.dart Vedi File

@@ -329,7 +329,7 @@ class QRViewController {
static Future<void> updateDimensions(GlobalKey key, MethodChannel channel,
{QrScannerOverlayShape? overlay}) async {
if (defaultTargetPlatform == TargetPlatform.iOS) {
// Add small delay to ensure the renderbox is loaded
// Add small delay to ensure the render box is loaded
await Future.delayed(Duration(milliseconds: 100));
final renderBox = key.currentContext!.findRenderObject() as RenderBox;
try {


Caricamento…
Annulla
Salva