fairy_flutter_comm 0.0.1-dev copy "fairy_flutter_comm: ^0.0.1-dev" to clipboard
fairy_flutter_comm: ^0.0.1-dev copied to clipboard

This is a fullter tool class, which encapsulates various tool processing classes.

0
likes
65/ 160
pub points
0%
popularity

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

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

10/10 points: Provide a valid pubspec.yaml

0/5 points: Provide a valid README.md

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

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

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

226 out of 366 API elements (61.7 %) have documentation comments.

Some symbols that are missing documentation: account_regex, account_regex.AccountRegex, account_regex.AccountRegex.AccountRegex, api_request, biz_exception.

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:fairy_flutter_comm/comm_http.dart that imports:
  • package:fairy_flutter_comm/http/http_server.dart that imports:
  • package:fairy_flutter_comm/http/intercepter/token_intercepter.dart that imports:
  • package:fairy_flutter_comm/utils/xlog.dart that imports:
  • package:logger/logger.dart that imports:
  • package:logger/src/outputs/file_output_stub.dart that imports:
  • dart:io
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 argument type 'String?' can't be assigned to the parameter type 'String'.

lib/utils/system_utils.dart:24:43

   ╷
24 │     Clipboard.setData(ClipboardData(text: text));
   │                                           ^^^^
   ╵

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

INFO: 'WillPopScope' is deprecated and shouldn't be used. Use PopScope instead. This feature was deprecated after v3.12.0-1.0.pre.

lib/utils/exten/k_widget.dart:45:11

   ╷
45 │         ? WillPopScope(
   │           ^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/utils/exten/k_widget.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
cookie_jar ^3.0.1 3.0.1 4.0.8
crypto ^3.0.2 3.0.3 3.0.3
decimal ^2.2.0 2.3.3 3.0.2
dio ^4.0.6 4.0.6 5.4.3+1
dio_cookie_manager ^2.0.0 2.0.0 3.1.1
flutter flutter 0.0.0 0.0.0
intl ^0.17.0 0.17.0 0.19.0
json_annotation ^4.6.0 4.9.0 4.9.0
logger ^1.1.0 1.4.0 2.3.0
pretty_dio_logger ^1.1.1 1.2.0-beta-1 1.3.1
rational ^2.2.0 2.2.3 2.2.3
shared_preferences ^2.0.15 2.2.3 2.2.3
Transitive dependencies
Package Constraint Compatible Latest
characters - 1.3.0 1.3.0
clock - 1.1.1 1.1.1
collection - 1.18.0 1.19.0
ffi - 2.1.2 2.1.2
file - 7.0.0 7.0.0
flutter_web_plugins - 0.0.0 0.0.0
http_parser - 4.0.2 4.1.0
material_color_utilities - 0.8.0 0.12.0
meta - 1.12.0 1.15.0
path - 1.9.0 1.9.0
path_provider_linux - 2.2.1 2.2.1
path_provider_platform_interface - 2.1.2 2.1.2
path_provider_windows - 2.2.1 2.2.1
platform - 3.1.5 3.1.5
plugin_platform_interface - 2.1.8 2.1.8
shared_preferences_android - 2.2.3 2.2.3
shared_preferences_foundation - 2.4.0 2.4.0
shared_preferences_linux - 2.3.2 2.3.2
shared_preferences_platform_interface - 2.3.2 2.3.2
shared_preferences_web - 2.3.0 2.3.0
shared_preferences_windows - 2.3.2 2.3.2
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
string_scanner - 1.2.0 1.2.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.3.2 1.3.2
vector_math - 2.1.4 2.1.4
web - 0.5.1 0.5.1
win32 - 5.5.1 5.5.1
xdg_directories - 1.0.4 1.0.4

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

Found 6 issues. Showing the first 2:

The constraint `^3.0.1` on cookie_jar does not support the stable version `4.0.0`.

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

The constraint `^2.2.0` on decimal does not support the stable version `3.0.0`, that was published 18 days ago.

When decimal is 30 days old, this package will no longer be awarded points in this category.

Try running dart pub upgrade --major-versions decimal 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 1 error:

  • ARGUMENT_TYPE_NOT_ASSIGNABLE - lib/utils/system_utils.dart:24:43 - The argument type 'String?' can't be assigned to the parameter type 'String'.

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.7, Flutter 3.22.2, Dart 3.4.3.

Check the analysis log for details.

0
likes
65
pub points
0%
popularity

Publisher

unverified uploader

This is a fullter tool class, which encapsulates various tool processing classes.

Homepage

Documentation

API reference

License

Apache-2.0 (LICENSE)

Dependencies

cookie_jar, crypto, decimal, dio, dio_cookie_manager, flutter, intl, json_annotation, logger, pretty_dio_logger, rational, shared_preferences

More

Packages that depend on fairy_flutter_comm