diff --git a/CHANGELOG.md b/CHANGELOG.md index 6043b45a..41292841 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +## 8.0.0+1 +Removes linter warnings and fixes CI/CD. + ## 8.0.0 ### Desktop Removes Flutter GO support. diff --git a/analysis_options.yaml b/analysis_options.yaml index f0cc4b32..be9e77ff 100644 --- a/analysis_options.yaml +++ b/analysis_options.yaml @@ -24,7 +24,6 @@ linter: - avoid_empty_else # - avoid_print - avoid_relative_lib_imports - - avoid_returning_null_for_future - avoid_slow_async_io - avoid_type_to_string - avoid_types_as_parameter_names diff --git a/lib/src/windows/file_picker_windows.dart b/lib/src/windows/file_picker_windows.dart index 8e792b00..a5b92c94 100644 --- a/lib/src/windows/file_picker_windows.dart +++ b/lib/src/windows/file_picker_windows.dart @@ -263,7 +263,7 @@ class FilePickerWindows extends FilePicker { bool lastCharWasNull = false; // ignore: literal_only_boolean_expressions while (true) { - final char = openFileNameW.lpstrFile.cast().elementAt(i).value; + final char = openFileNameW.lpstrFile.cast()[i]; final currentCharIsNull = char == 0; if (currentCharIsNull && lastCharWasNull) { break; diff --git a/pubspec.yaml b/pubspec.yaml index 18408e51..4542558a 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -3,7 +3,7 @@ description: A package that allows you to use a native file explorer to pick sin homepage: https://github.com/miguelpruivo/plugins_flutter_file_picker repository: https://github.com/miguelpruivo/flutter_file_picker issue_tracker: https://github.com/miguelpruivo/flutter_file_picker/issues -version: 8.0.0 +version: 8.0.0+1 dependencies: flutter: