retarget 0.1.2 copy "retarget: ^0.1.2" to clipboard
retarget: ^0.1.2 copied to clipboard

supports conditional compilation of platform-specific Flutter UI code using #ifconf and #switch pragmas.

0
likes
80/ 160
pub points
38
downloads

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

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

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

0/10 points: Use an OSI-approved license

No license was recognized.

Consider using an OSI-approved license in the LICENSE file to make it more accessible to the community.

OK
Provide documentation
20 / 20trigger folding of the section

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

0 out of 0 API elements (100.0 %) have documentation comments.

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

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

  • ✓ Linux

  • ✓ macOS

  • ✓ Windows

These platforms are not supported:

Android

Cannot assign Android automatically to a binary only package.

iOS

Cannot assign iOS automatically to a binary only package.

Web

Cannot assign Web automatically to a binary only package.

0/0 points: WASM compatibility

Unable to detect compatibility with runtime wasm, and this package will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

failed
Pass static analysis
0 / 50trigger folding of the section

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

Found 3 issues. Showing the first 2:

ERROR: The name 'UnmodifiableUint8ListView' isn't a type, so it can't be used in an 'as' expression.

bin/rtconf.dart:794:55

    ╷
794 │     return Uint8List.sublistView(this, start, end) as UnmodifiableUint8ListView;
    │                                                       ^^^^^^^^^^^^^^^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run dart analyze bin/rtconf.dart

WARNING: Dead code.

bin/rtconf.dart:531:32

    ╷
531 │     for (; i < clitems.length; i++) {
    │                                ^^^
    ╵

To reproduce make sure you are using the lints_core and run dart analyze bin/rtconf.dart

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

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

Package Constraint Compatible Latest
args ^2.3.1 2.6.0 2.6.0
path ^1.8.2 1.9.1 1.9.1

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

0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 1 error:

  • CAST_TO_NON_TYPE - bin/rtconf.dart:794:55 - The name 'UnmodifiableUint8ListView' isn't a type, so it can't be used in an 'as' expression.

Run dart pub downgrade and then dart 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.22.17, Dart 3.6.0.

Check the analysis log for details.

0
likes
80
points
38
downloads

Publisher

verified publisherfairbe.org

Weekly Downloads

supports conditional compilation of platform-specific Flutter UI code using #ifconf and #switch pragmas.

Repository (GitHub)
View/report issues

Documentation

API reference

License

unknown (license)

Dependencies

args, path

More

Packages that depend on retarget