cosmos_epub 0.0.2 copy "cosmos_epub: ^0.0.2" to clipboard
cosmos_epub: ^0.0.2 copied to clipboard

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

40
likes
130/ 160
pub points
105
downloads

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

Passed report section
Follow Dart file conventions
30 / 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

Passed check 10/10 points: Use an OSI-approved license

Detected license: BSD-3-Clause.

Partially passed report section
Provide documentation
10 / 20trigger folding of the section

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

46 out of 321 API elements (14.3 %) 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.

Passed check 10/10 points: Package has an example

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

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

Failed check 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/storage_impl.dart that imports:
  • package:get_storage/src/storage/html.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.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

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

Found 20 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

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

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) {
   │ ^^^^^
   ╵
copied to clipboard

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

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

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

Package Constraint Compatible Latest Notes
epubx ^4.0.0 4.0.0 4.0.0
fading_edge_scrollview ^4.1.1 4.1.1 4.1.1
flutter_html_reborn ^3.0.0 3.0.0 3.0.0
flutter_screenutil ^5.9.0 5.9.3 5.9.3
fluttertoast ^8.2.5 8.2.12 8.2.12
get_storage ^2.1.1 2.1.1 2.1.1
html ^0.15.4 0.15.4 0.15.5+1
http ^1.1.0 1.3.0 1.3.0
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.1.2
Transitive dependencies
Package Constraint Compatible Latest Notes
archive - 3.6.1 4.0.5
async - 2.13.0 2.13.0
boolean_selector - 2.1.2 2.1.2
characters - 1.4.0 1.4.0
collection - 1.19.1 1.19.1
crypto - 3.0.6 3.0.6
csslib - 0.17.3 1.0.2
ffi - 2.1.4 2.1.4
get - 4.7.2 4.7.2
http_parser - 4.1.2 4.1.2
image - 3.3.0 4.5.4
js - 0.6.7 0.7.2 Discontinued
list_counter - 1.0.2 1.0.2
matcher - 0.12.17 0.12.17
material_color_utilities - 0.11.1 0.12.0
meta - 1.16.0 1.16.0
path - 1.9.1 1.9.1
path_provider_android - 2.2.16 2.2.16
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
petitparser - 6.1.0 6.1.0
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
quiver - 3.2.2 3.2.2
screen_brightness_android - 1.0.1 2.1.1
screen_brightness_ios - 1.0.1 2.1.1
screen_brightness_macos - 1.0.1 2.1.1
screen_brightness_platform_interface - 1.0.1 2.1.0
screen_brightness_windows - 1.0.1 2.1.0
source_span - 1.10.1 1.10.1
stack_trace - 1.12.1 1.12.1
stream_channel - 2.1.4 2.1.4
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
test_api - 0.7.4 0.7.4
typed_data - 1.4.0 1.4.0
vector_math - 2.1.4 2.1.4
web - 1.1.1 1.1.1
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.

The constraint `^1.0.1` on screen_brightness does not support the stable version `2.0.0`.

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

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

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.20, Flutter 3.29.2, Dart 3.7.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
Jul 6Aug 3Aug 31Sep 28Oct 26Nov 23Dec 21Jan 18Feb 15Mar 15020406080100120>=0.0.0-0 <1.0.0
40
likes
130
points
105
downloads

Publisher

verified publisherflutterdev.uz

Weekly Downloads

2024.09.22 - 2025.04.06

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

Repository (GitHub)

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

epubx, fading_edge_scrollview, flutter, flutter_html_reborn, flutter_screenutil, fluttertoast, get_storage, html, http, isar, isar_flutter_libs, path_provider, screen_brightness

More

Packages that depend on cosmos_epub