From 7a067beeb94f75e2a7c6dc6795490013c4b7b2aa Mon Sep 17 00:00:00 2001 From: Aleksey Kulikov Date: Mon, 14 Feb 2022 18:26:08 +0300 Subject: [PATCH] chore: bump minimum dart version --- analysis_options.yaml | 4 +++- lib/src/merge.dart | 2 +- pubspec.yaml | 4 ++-- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/analysis_options.yaml b/analysis_options.yaml index d050e6c..6a83aec 100644 --- a/analysis_options.yaml +++ b/analysis_options.yaml @@ -1,9 +1,11 @@ include: package:lints/recommended.yaml analyzer: + language: + strict-casts: true + strict-raw-types: true strong-mode: implicit-casts: false - implicit-dynamic: false exclude: - lib/src/bindings/libgit2_bindings.dart diff --git a/lib/src/merge.dart b/lib/src/merge.dart index 98f78b7..06d13fb 100644 --- a/lib/src/merge.dart +++ b/lib/src/merge.dart @@ -50,7 +50,7 @@ class Merge { /// values respectively. /// /// Throws a [LibGit2Error] if error occured. - static List analysis({ + static List analysis({ required Repository repo, required Oid theirHead, String ourRef = 'HEAD', diff --git a/pubspec.yaml b/pubspec.yaml index ee05da7..969e2c3 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -3,8 +3,8 @@ description: Dart bindings to libgit2 version: 0.0.1 environment: - sdk: ">=2.15.0 <3.0.0" - flutter: ">=2.8.0" + sdk: ">=2.16.0 <3.0.0" + flutter: ">=2.10.0" dependencies: args: ^2.3.0