Ver a proveniência

Updated barcode check to inline check. Updated README.md.

flutter-beta
Julian Steenbakker há 5 anos
ascendente
cometimento
6238a86fa5
Não foi encontrada uma chave conhecida para esta assinatura, na base de dados ID da chave GPG: 16E437C7A3D94250
1 ficheiros alterados com 3 adições e 3 eliminações
  1. +3
    -3
      example/lib/main.dart

+ 3
- 3
example/lib/main.dart Ver ficheiro

@@ -148,10 +148,10 @@ 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.
double scanArea = (MediaQuery.of(context).size.width < 500 ||
var scanArea = (MediaQuery.of(context).size.width < 500 ||
MediaQuery.of(context).size.height < 400)
? 150
: 300;
? 150.0
: 300.0;
// To ensure the Scanner view is properly sizes after rotation
// we need to listen for Flutter SizeChanged notification and update controller
return NotificationListener<SizeChangedLayoutNotification>(


Carregando…
Cancelar
Guardar