From 6895e32cbc6d3c66d662835b8b9e2c9edcecda2e Mon Sep 17 00:00:00 2001 From: Leon Tappe Date: Tue, 21 Aug 2018 01:51:28 +0200 Subject: [PATCH] fix version conflict with dart 2.1.0/flutter 0.6 credit goes to - https://github.com/flutter/flutter/issues/20700 issue is resolved by just setting a minimum environment version for the plugin Closes #36 on the original project https://github.com/apptreesoftware/flutter_barcode_reader/issues/36 --- pubspec.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pubspec.yaml b/pubspec.yaml index 3903f40..a6eab66 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -8,6 +8,9 @@ dependencies: flutter: sdk: flutter +environment: + sdk: ">=2.0.0-dev.58.0 <3.0.0" + # For information on the generic Dart part of this file, see the # following page: https://www.dartlang.org/tools/pub/pubspec