uikit_bindings 0.0.1-dev.3 copy "uikit_bindings: ^0.0.1-dev.3" to clipboard
uikit_bindings: ^0.0.1-dev.3 copied to clipboard

Bindings of UIKit components for Flutter using FFI.

90/ 160
pub points
33
downloads

We analyzed this package 9 days ago, and awarded it 90 pub points (of a possible 160):

Passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Passed report section
Provide documentation
20 / 20trigger folding of the section

Passed check 10/10 points: 20% or more of the public API has dartdoc comments

2046 out of 2738 API elements (74.7 %) have documentation comments.

Some symbols that are missing documentation: uikit, uikit_bindings.g, uikit_bindings.g.CAAutoresizingMask, uikit_bindings.g.CAAutoresizingMask.fromValue, uikit_bindings.g.CAAutoresizingMask.value.

Passed check 10/10 points: Package has an example

Passed report section
Platform support
20 / 20trigger folding of the section

Passed check 20/20 points: Supports 1 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ iOS

These platforms are not supported:

Package does not support platform `Android`.

Because:

  • package:uikit_bindings/uikit.dart that declares support for platforms: iOS.
Package does not support platform `Windows`.

Because:

  • package:uikit_bindings/uikit.dart that declares support for platforms: iOS.
Package does not support platform `Linux`.

Because:

  • package:uikit_bindings/uikit.dart that declares support for platforms: iOS.
Package does not support platform `macOS`.

Because:

  • package:uikit_bindings/uikit.dart that declares support for platforms: iOS.
Package does not support platform `Web`.

Because:

  • package:uikit_bindings/uikit.dart that declares support for platforms: iOS.
Failed report section
Pass static analysis
0 / 50trigger folding of the section

Failed check 0/50 points: code has no errors, warnings, lints, or formatting issues

Found 5322 issues. Showing the first 2:

ERROR: 'ObjCObject' doesn't conform to the bound 'NativeType' of the type parameter 'T'.

lib/uikit_bindings.g.dart:11:47

   ╷
11 │ @ffi.Native<instancetype Function(ffi.Pointer<objc.ObjCObject>, ffi.Pointer<ffi.Void>, ffi.Pointer<objc.ObjCObject>)>()
   │                                               ^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/uikit_bindings.g.dart

ERROR: 'ObjCObject' doesn't conform to the bound 'NativeType' of the type parameter 'T'.

lib/uikit_bindings.g.dart:11:100

   ╷
11 │ @ffi.Native<instancetype Function(ffi.Pointer<objc.ObjCObject>, ffi.Pointer<ffi.Void>, ffi.Pointer<objc.ObjCObject>)>()
   │                                                                                                    ^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/uikit_bindings.g.dart

Failed report section
Support up-to-date dependencies
20 / 40trigger folding of the section

Passed check 10/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest Notes
ffi ^2.1.4 2.1.4 2.1.4
objective_c ^9.0.0-dev.0 9.2.1 9.2.1
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.0 2.13.0
characters - 1.4.0 1.4.1
code_assets - 0.19.10 1.0.0
collection - 1.19.1 1.19.1
crypto - 3.0.7 3.0.7
file - 7.0.1 7.0.1
glob - 2.1.3 2.1.3
hooks - 0.20.5 1.0.0
logging - 1.3.0 1.3.0
material_color_utilities - 0.11.1 0.13.0
meta - 1.17.0 1.17.0
native_toolchain_c - 0.17.2 0.17.4
path - 1.9.1 1.9.1
pub_semver - 2.2.0 2.2.0
source_span - 1.10.1 1.10.1
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
vector_math - 2.2.0 2.2.0
yaml - 3.1.3 3.1.3

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 5322 errors:

  • TYPE_ARGUMENT_NOT_MATCHING_BOUNDS - lib/uikit_bindings.g.dart:11:47 - 'ObjCObject' doesn't conform to the bound 'NativeType' of the type parameter 'T'.
  • TYPE_ARGUMENT_NOT_MATCHING_BOUNDS - lib/uikit_bindings.g.dart:11:100 - 'ObjCObject' doesn't conform to the bound 'NativeType' of the type parameter 'T'.
  • MUST_BE_A_NATIVE_FUNCTION_TYPE - lib/uikit_bindings.g.dart:12:23 - The type 'instancetype Function(Pointer

Run flutter pub downgrade and then flutter analyze to reproduce the above problem.

You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.

Analyzed with Pana 0.23.3, Flutter 3.38.2, Dart 3.10.0.

Check the analysis log for details.

Weekly downloads

Display as:
By versions: