From d523875e1172442d7067f4ce1a315413eb8060c7 Mon Sep 17 00:00:00 2001 From: "hoc081098@gmail.com" Date: Wed, 6 Mar 2024 13:08:11 +0700 Subject: [PATCH] chore: update analysis --- analysis_options.yaml | 6 +++--- lib/src/brite_batch.dart | 2 +- pubspec.yaml | 1 - 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/analysis_options.yaml b/analysis_options.yaml index e388d8e..25e78a1 100644 --- a/analysis_options.yaml +++ b/analysis_options.yaml @@ -1,8 +1,8 @@ include: package:flutter_lints/flutter.yaml analyzer: - strong-mode: - implicit-casts: false - implicit-dynamic: false + language: + strict-casts: true + strict-raw-types: true linter: rules: - public_member_api_docs diff --git a/lib/src/brite_batch.dart b/lib/src/brite_batch.dart index 234df90..cbfd038 100644 --- a/lib/src/brite_batch.dart +++ b/lib/src/brite_batch.dart @@ -15,7 +15,7 @@ class BriteBatch implements IBriteBatch { BriteBatch(this._executor, this._delegate); @override - Future commit({ + Future> commit({ bool? exclusive, bool? noResult, bool? continueOnError, diff --git a/pubspec.yaml b/pubspec.yaml index 6cd5299..2d0efb2 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -22,7 +22,6 @@ dependencies: dev_dependencies: flutter_test: sdk: flutter - sqflite_common: ^2.3.0 sqflite_common_ffi: ^2.1.1+1 mockito: ^5.3.0 flutter_lints: ^1.0.4