comet 0.3.1 copy "comet: ^0.3.1" to clipboard
comet: ^0.3.1 copied to clipboard

Platformweb

UI Library for comet project. Static Site Generator made with Flutter.

1
likes
140/ 160
pub points
47
downloads

We analyzed this package 8 days ago, and awarded it 140 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: MIT.

OK
Provide documentation
20 / 20trigger folding of the section

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

16 out of 48 API elements (33.3 %) have documentation comments.

Some symbols that are missing documentation: comet, comet.CometGenBook, comet.CometGenBook.CometGenBook, comet.CometGenBook.pages, comet.CometGenBook.srcName.

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

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

  • ✓ Web

These platforms are not supported:

Package not compatible with platform Android

Because:

  • package:comet/comet.dart that imports:
  • package:comet/src/widgets/routes.dart that imports:
  • package:comet/src/viewer.dart that imports:
  • package:comet/src/widgets/not_found.dart that imports:
  • package:comet/src/logic/initial_location.dart that imports:
  • package:comet/src/logic/resolve_locale.dart that imports:
  • dart:html
Package not compatible with platform iOS

Because:

  • package:comet/comet.dart that imports:
  • package:comet/src/widgets/routes.dart that imports:
  • package:comet/src/viewer.dart that imports:
  • package:comet/src/widgets/not_found.dart that imports:
  • package:comet/src/logic/initial_location.dart that imports:
  • package:comet/src/logic/resolve_locale.dart that imports:
  • dart:html
Package not compatible with platform Windows

Because:

  • package:comet/comet.dart that imports:
  • package:comet/src/widgets/routes.dart that imports:
  • package:comet/src/viewer.dart that imports:
  • package:comet/src/widgets/not_found.dart that imports:
  • package:comet/src/logic/initial_location.dart that imports:
  • package:comet/src/logic/resolve_locale.dart that imports:
  • dart:html
Package not compatible with platform Linux

Because:

  • package:comet/comet.dart that imports:
  • package:comet/src/widgets/routes.dart that imports:
  • package:comet/src/viewer.dart that imports:
  • package:comet/src/widgets/not_found.dart that imports:
  • package:comet/src/logic/initial_location.dart that imports:
  • package:comet/src/logic/resolve_locale.dart that imports:
  • dart:html
Package not compatible with platform macOS

Because:

  • package:comet/comet.dart that imports:
  • package:comet/src/widgets/routes.dart that imports:
  • package:comet/src/viewer.dart that imports:
  • package:comet/src/widgets/not_found.dart that imports:
  • package:comet/src/logic/initial_location.dart that imports:
  • package:comet/src/logic/resolve_locale.dart that imports:
  • dart:html

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:comet/comet.dart that imports:
  • package:comet/src/widgets/routes.dart that imports:
  • package:comet/src/viewer.dart that imports:
  • package:comet/src/widgets/not_found.dart that imports:
  • package:comet/src/logic/initial_location.dart that imports:
  • package:comet/src/logic/resolve_locale.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

INFO: 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss.

lib/src/desktop/menu_item.dart:19:39

   ╷
19 │       color: isSelected ? Colors.grey.withOpacity(0.2) : null,
   │                                       ^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/desktop/menu_item.dart

INFO: 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss.

lib/src/widgets/markdown_widget.dart:191:34

    ╷
191 │     highlightColor: Colors.black.withOpacity(0.1),
    │                                  ^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/widgets/markdown_widget.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
flutter flutter 0.0.0 0.0.0
flutter_highlighting ^0.9.0+11.8.0 0.9.0+11.8.0 0.9.0+11.8.0
flutter_web_plugins flutter 0.0.0 0.0.0
go_router ^12.1.0 12.1.3 14.6.2
google_fonts ^6.1.0 6.2.1 6.2.1
html ^0.15.4 0.15.5 0.15.5
intl ^0.18.1 0.18.1 0.20.1
markdown ^7.1.1 7.2.2 7.2.2
markdown_widget ^2.3.1 2.3.2+6 2.3.2+6
scroll_to_index ^3.0.1 3.0.1 3.0.1
visibility_detector ^0.4.0+2 0.4.0+2 0.4.0+2
Transitive dependencies
Package Constraint Compatible Latest
args - 2.6.0 2.6.0
async - 2.12.0 2.12.0
characters - 1.3.0 1.4.0
clock - 1.1.2 1.1.2
collection - 1.19.0 1.19.1
crypto - 3.0.6 3.0.6
csslib - 1.0.2 1.0.2
equatable - 2.0.7 2.0.7
ffi - 2.1.3 2.1.3
flutter_highlight - 0.7.0 0.7.0
highlight - 0.7.0 0.7.0
highlighting - 0.9.0+11.8.0 0.9.0+11.8.0
http - 1.2.2 1.2.2
http_parser - 4.1.1 4.1.1
logging - 1.3.0 1.3.0
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
path - 1.9.1 1.9.1
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
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
sky_engine - 0.0.0 0.0.0
source_span - 1.10.1 1.10.1
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
tuple - 2.0.2 2.0.2
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.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
vector_math - 2.1.4 2.1.4
web - 1.1.0 1.1.0
xdg_directories - 1.1.0 1.1.0

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

The constraint `^12.1.0` on go_router does not support the stable version `13.0.0`.

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

The constraint `^0.18.1` on intl does not support the stable version `0.19.0`.

Try running dart pub upgrade --major-versions intl 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.17, Flutter 3.27.0, Dart 3.6.0.

Check the analysis log for details.