diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index cb479a7..33e83f9 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -24,8 +24,11 @@ jobs: channel: "stable" cache: true + # Setup the melos environment. + - uses: bluefireteam/melos-action@v1 + - name: Install dependencies - run: flutter pub get + run: melos bootstrap - name: Verify formatting run: flutter format . diff --git a/lib/src/logic/zxing.dart b/lib/src/logic/zxing.dart index b3cb2b8..a46e31f 100644 --- a/lib/src/logic/zxing.dart +++ b/lib/src/logic/zxing.dart @@ -1,6 +1,7 @@ import 'dart:ffi'; import 'dart:io'; import 'dart:isolate'; +// ignore: unnecessary_import import 'dart:typed_data'; import 'package:camera/camera.dart'; diff --git a/melos.yaml b/melos.yaml new file mode 100644 index 0000000..2017c10 --- /dev/null +++ b/melos.yaml @@ -0,0 +1,6 @@ +name: flutter_zxing + +packages: + - example/** + - zxscanner/** + - '*' \ No newline at end of file