draw 1.1.0 copy "draw: ^1.1.0" to clipboard
draw: ^1.1.0 copied to clipboard

A fully-featured Reddit API wrapper for Dart, inspired by PRAW.

20
likes
115/ 140
pub points
63%
popularity

We analyzed this package 4 days ago, and awarded it 115 pub points (of a possible 140):

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

Links in `README.md` should be secure. 1 link is insecure.

README.md:162:87

    ╷
162 │ <p>The format of <code>draw.ini</code> configuration files is very similar to that of <a href="http://praw.readthedocs.io/en/latest/getting_started/configuration/prawini.html">praw.ini files used by PRAW</a>, although there may be some minor differences due to the .ini parser used by DRAW.</p>
    │                                                                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ╵

Use https URLs instead.

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected license: BSD-3-Clause.

OK
Provide documentation
20 / 20trigger folding of the section

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

575 out of 810 API elements (71.0 %) have documentation comments.

Some symbols that are missing documentation: draw, draw.Authenticator.Authenticator.restore, draw.BaseListingMixin.path, draw.BaseListingMixin.reddit, draw.Comment.canModPost.

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android
  • ✓ iOS
  • ✓ Windows
  • ✓ Linux
  • ✓ macOS
  • ✓ Web
partial
Pass static analysis
40 / 50trigger folding of the section

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

Found 24 issues. Showing the first 2:

INFO: Dangling library doc comment.

lib/src/config_file_reader.dart:1:1

  ╷
1 │ /// Copyright (c) 2019, the Dart Reddit API Wrapper project authors.
  │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

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

INFO: Dangling library doc comment.

lib/src/config_file_reader_io.dart:1:1

  ╷
1 │ /// Copyright (c) 2019, the Dart Reddit API Wrapper project authors.
  │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

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

failed
Support up-to-date dependencies
10 / 20trigger folding of the section

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

Package Constraint Compatible Latest
collection ^1.15.0 1.18.0 1.18.0
color ^3.0.0 3.0.0 3.0.0
http ^0.13.0 0.13.6 1.2.1
http_parser ^4.0.0 4.0.2 4.0.2
ini ^2.1.0 2.1.0 2.1.0
logging ^1.0.1 1.2.0 1.2.0
oauth2 ^2.0.0 2.0.2 2.0.2
path ^1.4.2 1.9.0 1.9.0
quiver ^3.0.0 3.2.1 3.2.1
Transitive dependencies
Package Constraint Compatible Latest
async - 2.11.0 2.11.0
boolean_selector - 2.1.1 2.1.1
crypto - 3.0.3 3.0.3
matcher - 0.12.16+1 0.12.16+1
meta - 1.14.0 1.14.0
source_span - 1.10.0 1.10.0
stack_trace - 1.11.1 1.11.1
stream_channel - 2.1.2 2.1.2
string_scanner - 1.2.0 1.2.0
term_glyph - 1.2.1 1.2.1
test_api - 0.7.1 0.7.1
typed_data - 1.3.2 1.3.2

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

The constraint `^0.13.0` on http does not support the stable version `1.0.0`.

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

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

Analyzed with Pana 0.22.3, Dart 3.3.3.

Check the analysis log for details.

20
likes
115
pub points
63%
popularity

Publisher

unverified uploader

A fully-featured Reddit API wrapper for Dart, inspired by PRAW.

Repository (GitHub)
View/report issues
Contributing

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

collection, color, http, http_parser, ini, logging, oauth2, path, quiver

More

Packages that depend on draw