eyflutter_uikit 0.2.0 copy "eyflutter_uikit: ^0.2.0" to clipboard
eyflutter_uikit: ^0.2.0 copied to clipboard

eyflutter项目工具库

0
likes
95/ 160
pub points
638
downloads

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

failed
Follow Dart file conventions
5 / 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.

The package description contains too many non-ASCII characters.

The site uses English as its primary language. The content of the description field in your package's pubspec.yaml should primarily contain characters used in English.

5/5 points: Provide a valid README.md

0/5 points: Provide a valid CHANGELOG.md

`CHANGELOG.md` contains too many non-ASCII characters.

The site uses English as its primary language. The content of CHANGELOG.md in your package should primarily contain characters used in English.

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

1128 out of 2028 API elements (55.6 %) have documentation comments.

Some symbols that are missing documentation: action_bar, action_bar.ActionBar, action_bar.ActionBar.ActionBar, action_bar.ActionBarStructItem, action_bar.ActionBarStructItem.ActionBarStructItem.

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android

  • ✓ iOS

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:eyflutter_uikit/eyflutter_uikit.dart that declares support for platforms: Android, iOS.
Package does not support platform `Linux`.

Because:

  • package:eyflutter_uikit/eyflutter_uikit.dart that declares support for platforms: Android, iOS.
Package does not support platform `macOS`.

Because:

  • package:eyflutter_uikit/eyflutter_uikit.dart that declares support for platforms: Android, iOS.
Package does not support platform `Web`.

Because:

  • package:eyflutter_uikit/eyflutter_uikit.dart that declares support for platforms: Android, iOS.

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:eyflutter_uikit/eyflutter_uikit.dart that imports:
  • package:eyflutter_uikit/gif/gif_image.dart that imports:
  • dart:io

This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.

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

0/0 points: Swift Package Manager support

Package does not support the Swift Package Manager on iOS

It does not contain ios/eyflutter_uikit/Package.swift.

This package for iOS or macOS does not support the Swift Package Manager. It will not receive full points in a future version of the scoring model.

See https://docs.flutter.dev/to/spm for details.

partial
Pass static analysis
40 / 50trigger folding of the section

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

Found 174 issues. Showing the first 2:

INFO: Statements in an if should be enclosed in a block.

lib/gif/gif_image.dart:117:11

    ╷
117 │ ┌           setState(() {
118 │ │             _infos = imageInfors;
119 │ │             _fetchComplete = true;
120 │ │             _curIndex = widget.controller.value.toInt();
121 │ │             if (widget.onFetchCompleted != null) {
122 │ │               widget.onFetchCompleted!();
123 │ │             }
124 │ └           });
    ╵

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

INFO: Statements in an if should be enclosed in a block.

lib/gif/gif_image.dart:136:9

    ╷
136 │ ┌         setState(() {
137 │ │           _curIndex = widget.controller.value.toInt();
138 │ └         });
    ╵

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

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

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

Package Constraint Compatible Latest
cached_network_image ^3.3.0 3.3.1 3.4.1
convex_bottom_bar ^3.1.0+1 3.2.0 3.2.0
extended_text ^12.0.0 12.1.0 14.2.0
eyflutter_core ^0.0.15+8 0.0.15+10 0.0.15+10
eyflutter_webview ^2.0.9 2.0.9 2.0.9
flutter flutter 0.0.0 0.0.0
flutter_cache_manager ^3.3.1 3.3.1 3.4.1
flutter_easyrefresh ^2.2.1 2.2.2 2.2.2
flutter_switch ^0.3.2 0.3.2 0.3.2
http ^0.13.3 0.13.6 1.2.2
meta ^1.3.0 1.15.0 1.16.0
oktoast ^3.3.1 3.4.0 3.4.0
percent_indicator ^4.2.2 4.2.4 4.2.4
provider ^6.0.5 6.1.2 6.1.2
uni_links ^0.5.1 0.5.1 0.5.1
url_launcher ^6.0.3 6.3.1 6.3.1
Transitive dependencies
Package Constraint Compatible Latest
_fe_analyzer_shared - 22.0.0 78.0.0
analyzer - 1.7.2 7.1.0
async - 2.12.0 2.12.0
boolean_selector - 2.1.2 2.1.2
cached_network_image_platform_interface - 4.0.0 4.1.1
cached_network_image_web - 1.2.0 1.3.1
characters - 1.3.0 1.4.0
chewie - 1.5.0 1.8.5
chewie_audio - 1.5.0 1.5.0
cli_util - 0.3.5 0.4.2
clock - 1.1.2 1.1.2
collection - 1.19.0 1.19.1
convert - 3.1.2 3.1.2
crypto - 3.0.6 3.0.6
csslib - 0.17.3 1.0.2
cupertino_icons - 1.0.8 1.0.8
dartx - 1.2.0 1.2.0
extended_text_library - 12.0.1 12.0.1
ffi - 2.1.3 2.1.3
file - 7.0.1 7.0.1
flutter_layout_grid - 1.0.6 2.0.7
flutter_math_fork - 0.5.0 0.7.3
flutter_svg - 0.23.0+1 2.0.16
flutter_web_plugins - 0.0.0 0.0.0
glob - 2.1.2 2.1.2
html - 0.15.4 0.15.5
html_character_entities - 1.0.0+1 1.0.0+1
http_parser - 4.1.1 4.1.1
intl - 0.18.1 0.20.1
isolate - 2.1.1 2.1.1
js - 0.6.7 0.7.1
matcher - 0.12.17 0.12.17
material_color_utilities - 0.11.1 0.12.0
nested - 1.0.0 1.0.0
numerus - 1.1.1 2.3.0
octo_image - 2.1.0 2.1.0
package_config - 2.1.1 2.1.1
path - 1.9.1 1.9.1
path_drawing - 0.5.1+1 1.0.1
path_parsing - 0.2.1 1.1.0
path_provider - 2.1.5 2.1.5
path_provider_android - 2.2.15 2.2.15
path_provider_foundation - 2.4.1 2.4.1
path_provider_linux - 2.2.1 2.2.1
path_provider_platform_interface - 2.1.2 2.1.2
path_provider_windows - 2.3.0 2.3.0
pedantic - 1.11.1 1.11.1
petitparser - 5.4.0 6.0.2
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
pub_semver - 2.1.5 2.1.5
quiver - 3.2.2 3.2.2
recursive_regex - 1.0.0 1.0.0
rxdart - 0.27.7 0.28.0
sky_engine - 0.0.0 0.0.0
source_span - 1.10.1 1.10.1
sqflite - 2.4.1 2.4.1
sqflite_android - 2.4.0 2.4.0
sqflite_common - 2.5.4+6 2.5.4+6
sqflite_darwin - 2.4.1 2.4.1
sqflite_platform_interface - 2.4.0 2.4.0
stack_trace - 1.12.1 1.12.1
stream_channel - 2.1.3 2.1.3
string_scanner - 1.4.1 1.4.1
synchronized - 3.3.0+3 3.3.0+3
term_glyph - 1.2.2 1.2.2
test_api - 0.7.4 0.7.4
time - 2.1.5 2.1.5
tuple - 2.0.2 2.0.2
typed_data - 1.4.0 1.4.0
uni_links_platform_interface - 1.0.0 1.0.0
uni_links_web - 0.1.0 0.1.0
url_launcher_android - 6.3.14 6.3.14
url_launcher_ios - 6.3.2 6.3.2
url_launcher_linux - 3.2.1 3.2.1
url_launcher_macos - 3.2.2 3.2.2
url_launcher_platform_interface - 2.3.2 2.3.2
url_launcher_web - 2.3.3 2.3.3
url_launcher_windows - 3.1.3 3.1.3
uuid - 3.0.7 4.5.1
vector_math - 2.1.4 2.1.4
video_player - 2.9.2 2.9.2
video_player_android - 2.7.16 2.7.16
video_player_avfoundation - 2.6.5 2.6.5
video_player_platform_interface - 6.2.3 6.2.3
video_player_web - 2.3.3 2.3.3
wakelock - 0.6.2 0.6.2
wakelock_macos - 0.4.0 0.4.0
wakelock_platform_interface - 0.3.0 0.3.0
wakelock_web - 0.4.0 0.4.0
wakelock_windows - 0.2.1 0.2.1
watcher - 1.1.1 1.1.1
web - 1.1.0 1.1.0
win32 - 3.1.4 5.9.0
xdg_directories - 1.1.0 1.1.0
xml - 5.4.1 6.5.0
xml_parser - 1.0.0 1.0.0
yaml - 3.1.3 3.1.3

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

The constraint `^12.0.0` on extended_text does not support the stable version `13.0.0`.

Try running dart pub upgrade --major-versions extended_text to update the constraint.

The constraint `^0.13.3` on http does not support the stable version `1.0.0`.

Try running dart pub upgrade --major-versions http to update the constraint.

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 2 errors:

  • UNDEFINED_METHOD - lib/uikit/webkit/h5_webview.dart:262:15 - The method 'canLaunchUrl' isn't defined for the type '_H5WebViewState'.
  • UNDEFINED_METHOD - lib/uikit/webkit/h5_webview.dart:263:13 - The method 'launchUrl' isn't defined for the type '_H5WebViewState'.

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.22.17, Flutter 3.27.0, Dart 3.6.0.

Check the analysis log for details.