Przeglądaj źródła

Updated example.

flutter-beta
Julian Steenbakker 5 lat temu
rodzic
commit
b4ee3d78dc
Nie znaleziono w bazie danych klucza dla tego podpisu ID klucza GPG: 16E437C7A3D94250
1 zmienionych plików z 1 dodań i 1 usunięć
  1. +1
    -1
      example/lib/main.dart

+ 1
- 1
example/lib/main.dart Wyświetl plik

@@ -148,7 +148,7 @@ class _QRViewExampleState extends State<QRViewExample> {

Widget _buildQrView(BuildContext context) {
// For this example we check how width or tall the device is and change the scanArea and overlay accordingly.
var scanArea = (MediaQuery.of(context).size.width < 500 ||
var scanArea = (MediaQuery.of(context).size.width < 400 ||
MediaQuery.of(context).size.height < 400)
? 150.0
: 300.0;


Ładowanie…
Anuluj
Zapisz