ソースを参照

refactor: removed unused _features and made _hasPermissions non nullable

flutter-beta
Julian Steenbakker 5年前
コミット
b6978a5ba2
この署名に対応する既知のキーがデータベースに存在しません GPGキーID: 16E437C7A3D94250
1個のファイルの変更2行の追加5行の削除
  1. +2
    -5
      lib/src/qr_code_scanner.dart

+ 2
- 5
lib/src/qr_code_scanner.dart ファイルの表示

@@ -214,11 +214,8 @@ class QRViewController {

Stream<Barcode> get scannedDataStream => _scanUpdateController.stream;

SystemFeatures? _features;
bool? _hasPermissions;

SystemFeatures? get systemFeatures => _features;
bool? get hasPermissions => _hasPermissions;
bool _hasPermissions = false;
bool get hasPermissions => _hasPermissions;

/// Starts the barcode scanner
Future<void> _startScan(GlobalKey key, QrScannerOverlayShape? overlay,


読み込み中…
キャンセル
保存