cosmos_epub 0.0.1+4 copy "cosmos_epub: ^0.0.1+4" to clipboard
cosmos_epub: ^0.0.1+4 copied to clipboard

EPUB reader package with great UI, easy customization and awesome features

35
likes
130/ 160
pub points
73%
popularity

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

OK
Follow Dart file conventions
30 / 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

10/10 points: Use an OSI-approved license

Detected license: BSD-3-Clause.

partial
Provide documentation
10 / 20trigger folding of the section

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

44 out of 319 API elements (13.8 %) have documentation comments.

Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.

To highlight public API members missing documentation consider enabling the public_member_api_docs lint.

Some symbols that are missing documentation: assets, assets.Assets.fontsAlegreya, assets.Assets.fontsAmazonEmberRegular, assets.Assets.fontsAtkinsonHyperlegibleRegular, assets.Assets.fontsBitterProRegular.

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:cosmos_epub/cosmos_epub.dart that imports:
  • package:cosmos_epub/show_epub.dart that imports:
  • package:cosmos_epub/Helpers/custom_toast.dart that imports:
  • package:fluttertoast/fluttertoast.dart that declares support for platforms: Android, iOS, Web.
Package does not support platform `Linux`.

Because:

  • package:cosmos_epub/cosmos_epub.dart that imports:
  • package:cosmos_epub/show_epub.dart that imports:
  • package:cosmos_epub/Helpers/custom_toast.dart that imports:
  • package:fluttertoast/fluttertoast.dart that declares support for platforms: Android, iOS, Web.
Package does not support platform `macOS`.

Because:

  • package:cosmos_epub/cosmos_epub.dart that imports:
  • package:cosmos_epub/show_epub.dart that imports:
  • package:cosmos_epub/Helpers/custom_toast.dart that imports:
  • package:fluttertoast/fluttertoast.dart that declares support for platforms: Android, iOS, Web.
Package does not support platform `Web`.

Because:

  • package:cosmos_epub/cosmos_epub.dart that imports:
  • package:cosmos_epub/show_epub.dart that imports:
  • package:screen_brightness/screen_brightness.dart that declares support for platforms: Android, iOS, Windows, macOS.

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:cosmos_epub/cosmos_epub.dart that imports:
  • package:get_storage/get_storage.dart that imports:
  • package:get_storage/src/value.dart that imports:
  • package:get/state_manager.dart that imports:
  • package:get/get_state_manager/get_state_manager.dart that imports:
  • package:get/get_state_manager/src/simple/simple_builder.dart that imports:
  • package:get/get_state_manager/src/simple/get_state.dart that imports:
  • package:get/instance_manager.dart that imports:
  • package:get/get_instance/get_instance.dart that imports:
  • package:get/get_instance/src/get_instance.dart that imports:
  • package:get/get_navigation/src/router_report.dart that imports:
  • package:get/get.dart that imports:
  • package:get/route_manager.dart that imports:
  • package:get/get_navigation/get_navigation.dart that imports:
  • package:get/get_navigation/src/root/get_material_app.dart that imports:
  • package:get/get_utils/get_utils.dart that imports:
  • package:get/get_utils/src/platform/platform.dart that imports:
  • package:get/get_utils/src/platform/platform_web.dart that imports:
  • dart:html

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.

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

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

Found 19 issues. Showing the first 2:

INFO: 'textScaleFactor' is deprecated and shouldn't be used. Use textScaler instead. Use of textScaleFactor was deprecated in preparation for the upcoming nonlinear text scaling support. This feature was deprecated after v3.12.0-2.0.pre.

lib/Helpers/context_extensions.dart:93:53

   ╷
93 │   double get textScaleFactor => MediaQuery.of(this).textScaleFactor;
   │                                                     ^^^^^^^^^^^^^^^
   ╵

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

INFO: The variable name 'Snack' isn't a lowerCamelCase identifier.

lib/Helpers/custom_toast.dart:18:1

   ╷
18 │ Snack(String msg, BuildContext ctx, Color color) {
   │ ^^^^^
   ╵

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

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

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

Package Constraint Compatible Latest
epubx ^4.0.0 4.0.0 4.0.0
fading_edge_scrollview ^3.0.0 3.0.0 4.1.1
flutter flutter 0.0.0 0.0.0
flutter_screenutil ^5.9.0 5.9.3 5.9.3
flutter_widget_from_html ^0.14.11 0.14.11 0.15.3
flutter_widget_from_html_core ^0.14.12 0.14.12 0.15.2
fluttertoast ^8.2.5 8.2.8 8.2.8
get_storage ^2.1.1 2.1.1 2.1.1
html ^0.15.4 0.15.5 0.15.5
isar ^3.1.0+1 3.1.0+1 3.1.0+1
isar_flutter_libs ^3.1.0+1 3.1.0+1 3.1.0+1
path_provider ^2.1.3 2.1.5 2.1.5
screen_brightness ^1.0.1 1.0.1 2.0.0+2
Transitive dependencies
Package Constraint Compatible Latest
archive - 3.6.1 3.6.1
args - 2.6.0 2.6.0
async - 2.12.0 2.12.0
audio_session - 0.1.21 0.1.21
boolean_selector - 2.1.2 2.1.2
cached_network_image - 3.4.1 3.4.1
cached_network_image_platform_interface - 4.1.1 4.1.1
cached_network_image_web - 1.3.1 1.3.1
characters - 1.3.0 1.3.1
chewie - 1.8.5 1.8.5
clock - 1.1.2 1.1.2
collection - 1.18.0 1.19.1
crypto - 3.0.6 3.0.6
csslib - 1.0.2 1.0.2
cupertino_icons - 1.0.8 1.0.8
dbus - 0.7.10 0.7.10
ffi - 2.1.3 2.1.3
file - 7.0.1 7.0.1
fixnum - 1.1.1 1.1.1
flutter_cache_manager - 3.4.1 3.4.1
flutter_svg - 2.0.14 2.0.14
flutter_web_plugins - 0.0.0 0.0.0
fwfh_cached_network_image - 0.14.3 0.14.3
fwfh_chewie - 0.14.8 0.14.8
fwfh_just_audio - 0.14.3 0.15.2
fwfh_svg - 0.8.3 0.8.3
fwfh_url_launcher - 0.9.1 0.9.1
fwfh_webview - 0.14.8 0.15.3
get - 4.6.6 4.6.6
http - 1.2.2 1.2.2
http_parser - 4.0.2 4.1.1
image - 3.3.0 4.3.0
js - 0.6.7 0.7.1
just_audio - 0.9.42 0.9.42
just_audio_platform_interface - 4.3.0 4.3.0
just_audio_web - 0.4.13 0.4.13
logging - 1.3.0 1.3.0
matcher - 0.12.17 0.12.17
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
nested - 1.0.0 1.0.0
octo_image - 2.1.0 2.1.0
package_info_plus - 8.1.1 8.1.1
package_info_plus_platform_interface - 3.0.1 3.0.1
path - 1.9.1 1.9.1
path_parsing - 1.1.0 1.1.0
path_provider_android - 2.2.12 2.2.12
path_provider_foundation - 2.4.0 2.4.0
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
petitparser - 6.0.2 6.0.2
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
provider - 6.1.2 6.1.2
quiver - 3.2.2 3.2.2
rxdart - 0.28.0 0.28.0
screen_brightness_android - 1.0.1 2.0.0
screen_brightness_ios - 1.0.1 2.0.0
screen_brightness_macos - 1.0.1 2.0.0
screen_brightness_platform_interface - 1.0.1 2.0.0
screen_brightness_windows - 1.0.1 2.0.0
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
sprintf - 7.0.0 7.0.0
sqflite - 2.4.1 2.4.1
sqflite_android - 2.4.0 2.4.0
sqflite_common - 2.5.4+5 2.5.4+5
sqflite_darwin - 2.4.1 2.4.1
sqflite_platform_interface - 2.4.0 2.4.0
stack_trace - 1.12.0 1.12.0
stream_channel - 2.1.2 2.1.2
string_scanner - 1.4.0 1.4.0
synchronized - 3.3.0+3 3.3.0+3
term_glyph - 1.2.1 1.2.1
test_api - 0.7.3 0.7.3
typed_data - 1.4.0 1.4.0
url_launcher - 6.3.1 6.3.1
url_launcher_android - 6.3.14 6.3.14
url_launcher_ios - 6.3.1 6.3.1
url_launcher_linux - 3.2.1 3.2.1
url_launcher_macos - 3.2.1 3.2.1
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 - 4.5.1 4.5.1
vector_graphics - 1.1.14 1.1.14
vector_graphics_codec - 1.1.12 1.1.12
vector_graphics_compiler - 1.1.15 1.1.15
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.2 2.6.2
video_player_platform_interface - 6.2.3 6.2.3
video_player_web - 2.3.3 2.3.3
wakelock_plus - 1.2.8 1.2.8
wakelock_plus_platform_interface - 1.2.1 1.2.1
web - 1.1.0 1.1.0
webview_flutter - 4.9.0 4.10.0
webview_flutter_android - 3.16.9 4.0.2
webview_flutter_platform_interface - 2.10.0 2.10.0
webview_flutter_wkwebview - 3.16.2 3.16.2
win32 - 5.8.0 5.8.0
xdg_directories - 1.1.0 1.1.0
xml - 6.5.0 6.5.0

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

Found 4 issues. Showing the first 2:

The constraint `^3.0.0` on fading_edge_scrollview does not support the stable version `4.0.0`.

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

The constraint `^0.14.11` on flutter_widget_from_html does not support the stable version `0.15.0`.

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

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

20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.15, Flutter 3.24.4, Dart 3.5.4.

Check the analysis log for details.