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.

60/ 160
pub points
17
downloads

We analyzed this package 37 hours ago, and awarded it 60 pub points (of a possible 160):

Failed report section
Follow Dart file conventions
20 / 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

Failed check 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.

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

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

Passed check 10/10 points: Package has an example

Failed report section
Platform support
0 / 20trigger folding of the section

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

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

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 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
args ^2.3.1 2.7.0 2.7.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.

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 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.23.10, Dart 3.11.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
60
points
17
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