snippets 0.3.0 icon indicating copy to clipboard operation
snippets: ^0.3.0 copied to clipboard

A package for parsing and manipulating code samples in Flutter repo dartdoc comments.

0
likes
110/ 130
pub points
28%
popularity

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

icon indicating section status
Follow Dart file conventions
20 / 20icon to trigger 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

icon indicating section status
Provide documentation
10 / 20icon to trigger folding of the section

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

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

  • 83 out of 177 API elements (46.9 %) have documentation comments.
icon indicating section status
Platform support
20 / 20icon to trigger 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:snippets/snippets.dart that imports:
  • package:snippets/src/util.dart that imports:
  • package:snippets/src/data_types.dart that imports:
  • package:file/file.dart that imports:
  • package:file/src/interface.dart that imports:
  • package:file/src/io.dart that imports:
  • dart:io
icon indicating section status
Pass static analysis
20 / 30icon to trigger folding of the section

20/30 points: code has no errors, warnings, lints, or formatting issues

Found 30 issues. Showing the first 2:

INFO: 'name' is deprecated and shouldn't be used. Use name2 instead.

lib/src/analysis.dart:154:33

    ╷
154 │       if (!isPublic(declaration.name.name)) {
    │                                 ^^^^
    ╵

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

INFO: 'name' is deprecated and shouldn't be used. Use name2 instead.

lib/src/analysis.dart:161:41

    ╷
161 │             _processComment(declaration.name.name, node.documentationComment!);
    │                                         ^^^^
    ╵

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

icon indicating section status
Support up-to-date dependencies
20 / 20icon to trigger folding of the section

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

PackageConstraintCompatibleLatest
analyzer^4.0.04.6.04.6.0
args^2.0.02.3.12.3.1
dart_style^2.2.32.2.32.2.3
file^6.1.06.1.26.1.2
interval_tree^0.3.00.3.00.3.0
meta^1.3.01.8.01.8.0
path^1.8.01.8.21.8.2
platform^3.0.03.1.03.1.0
process^4.1.14.2.44.2.4
pub_semver^2.0.02.1.12.1.1
quiver^3.0.03.1.03.1.0
recase^4.0.04.0.04.0.0
Transitive dependencies
PackageConstraintCompatibleLatest
_fe_analyzer_shared-46.0.046.0.0
async-2.9.02.9.0
collection-1.16.01.16.0
convert-3.0.23.0.2
crypto-3.0.23.0.2
glob-2.1.02.1.0
matcher-0.12.120.12.12
package_config-2.1.02.1.0
source_span-1.9.11.9.1
stack_trace-1.10.01.10.0
string_scanner-1.1.11.1.1
term_glyph-1.2.11.2.1
typed_data-1.3.11.3.1
watcher-1.0.11.0.1
yaml-3.1.13.1.1

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

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

icon indicating section status
Support sound null safety
20 / 20icon to trigger folding of the section

20/20 points: Package and dependencies are fully migrated to null safety!

Analysed with Pana 0.21.15, Dart 2.17.6.

0
likes
110
pub points
28%
popularity

Publisher

verified publisher iconflutter.dev

A package for parsing and manipulating code samples in Flutter repo dartdoc comments.

Repository (GitHub)
View/report issues

Documentation

API reference

License

Icon for licenses.BSD-3-Clause (LICENSE)

Dependencies

analyzer, args, dart_style, file, interval_tree, meta, path, platform, process, pub_semver, quiver, recase

More

Packages that depend on snippets