flutter_opencc_ffi_native 0.0.3 copy "flutter_opencc_ffi_native: ^0.0.3" to clipboard
flutter_opencc_ffi_native: ^0.0.3 copied to clipboard

FFI implementation for the flutter_opencc_ffi plugin.

0
likes
100/ 140
pub points
4%
popularity

We analyzed this package 6 hours ago, and awarded it 100 pub points (of a possible 140):

failed
Follow Dart file conventions
20 / 30trigger folding of the section

0/10 points: Provide a valid pubspec.yaml

The package description is too short.

Add more detail to the description field of pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.

Repository URL doesn't exist.

At the time of the analysis https://github.com/dolphinxx/flutter_opencc_ffi/flutter_opencc_ffi_native was unreachable. Make sure that the website is reachable via HEAD requests.

Issue tracker URL doesn't exist.

At the time of the analysis https://github.com/dolphinxx/flutter_opencc_ffi/issues was unreachable. Make sure that the website is reachable via HEAD requests.

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected license: Apache-2.0.

failed
Provide documentation
10 / 20trigger folding of the section

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

1 out of 4 API elements (25.0 %) have documentation comments.

Some symbols that are missing documentation: flutter_opencc_ffi_native, flutter_opencc_ffi_native.FlutterOpenccFfi, flutter_opencc_ffi_native.FlutterOpenccFfi.createConverter.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

OK
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android
  • ✓ iOS
  • ✓ Windows
  • ✓ Linux
  • ✓ macOS

These platforms are not supported:

Package not compatible with platform Web

Because:

  • package:flutter_opencc_ffi_native/flutter_opencc_ffi_native.dart that imports:
  • package:flutter_opencc_ffi_native/src/converter_ffi.dart that imports:
  • package:flutter_opencc_ffi_native/src/opencc.g.dart that imports:
  • dart:ffi
failed
Pass static analysis
30 / 50trigger folding of the section

30/50 points: code has no errors, warnings, lints, or formatting issues

Found 52 issues. Showing the first 2:

WARNING: This API is available since SDK 2.17.0, but constraints '>=2.12.0 <3.0.0' don't guarantee it.

lib/src/converter_ffi.dart:59:13

   ╷
59 │     Pointer<Char> resultPtr = bindings.opencc_convert(textPtr.cast(), _convertId);
   │             ^^^^
   ╵

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

WARNING: This API is available since SDK 2.17.0, but constraints '>=2.12.0 <3.0.0' don't guarantee it.

lib/src/converter_ffi.dart:78:21

   ╷
78 │     Pointer<Pointer<Char>> resultPtr = bindings.opencc_convert_list(textsPtr.cast(), size, _convertId);
   │                     ^^^^
   ╵

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

OK
Support up-to-date dependencies
20 / 20trigger folding of the section

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

Package Constraint Compatible Latest
ffi ^2.0.1 2.1.2 2.1.2
flutter flutter 0.0.0 0.0.0
flutter_opencc_ffi_platform_interface ^0.0.3 0.0.3 0.0.3
Transitive dependencies
Package Constraint Compatible Latest
characters - 1.3.0 1.3.0
collection - 1.18.0 1.18.0
material_color_utilities - 0.8.0 0.11.1
meta - 1.11.0 1.15.0
plugin_platform_interface - 2.1.8 2.1.8
sky_engine - 0.0.99 0.0.99
vector_math - 2.1.4 2.1.4

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

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

Analyzed with Pana 0.22.3, Flutter 3.19.6, Dart 3.3.4.

Check the analysis log for details.

0
likes
100
pub points
4%
popularity

Publisher

unverified uploader

FFI implementation for the flutter_opencc_ffi plugin.

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (LICENSE)

Dependencies

ffi, flutter, flutter_opencc_ffi_platform_interface

More

Packages that depend on flutter_opencc_ffi_native