Skip to content

Commit

Permalink
Make native bindings pass dart analysis (#985)
Browse files Browse the repository at this point in the history
  • Loading branch information
brianquinlan authored Jul 11, 2023
1 parent c148a3a commit b206771
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
2 changes: 2 additions & 0 deletions pkgs/cupertino_http/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
incrementally.
* Deprecate `Data.fromUint8List` in favor of `Data.fromList`, which accepts
any `List<int>`.
* Disable additional analyses for generated Objective-C bindings to prevent
errors from `dart analyze`.

## 1.0.1

Expand Down
4 changes: 0 additions & 4 deletions pkgs/cupertino_http/analysis_options.yaml

This file was deleted.

3 changes: 3 additions & 0 deletions pkgs/cupertino_http/ffigen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ preamble: |
// ignore_for_file: always_specify_types
// ignore_for_file: camel_case_types
// ignore_for_file: non_constant_identifier_names
// ignore_for_file: unused_element
// ignore_for_file: unused_field
// ignore_for_file: return_of_invalid_type
comments:
style: any
length: full
3 changes: 3 additions & 0 deletions pkgs/cupertino_http/lib/src/native_cupertino_bindings.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit b206771

Please sign in to comment.