wing 0.0.4
wing: ^0.0.4

Dart native
Flutter Android iOS

A backend framework with automated REST generation

0
likes
45 / 110
pub points
0 %
popularity

We analyzed this package on Nov 27, 2020, and awarded it 45 pub points (of a possible 110):

Follow Dart file conventions
5 / 20

0/10 points: Provide a valid pubspec.yaml

The package description is too short.

Add more detail to the description field of pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.

5/5 points: Provide a valid README.md

0/5 points: Provide a valid CHANGELOG.md

No `CHANGELOG.md` found.

Changelog entries help developers follow the progress of your package. See the example generated by stagehand.

Provide documentation
0 / 20

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

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

  • 0 out of 14 API elements (0.0 %) 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.

Support multiple platforms
10 / 20

10/20 points: Supports 1 of 2 possible platforms (native, js)

Consider supporting multiple platforms:

Package not compatible with runtime js

Because:

  • package:wing/wing.dart that imports:
  • package:wing/src/Database_Manager.dart that imports:
  • package:mongo_dart/mongo_dart.dart that imports:
  • dart:io
Pass static analysis
20 / 30

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

Found 4 issues. Showing the first 2:

INFO: Unnecessary new keyword.

lib/src/Database_Manager.dart:11:10

   ╷
11 │     db = new Db(uriString ?? "mongodb://mongo:27017/dart-test");
   │          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using pedantic and run dartanalyzer lib/src/Database_Manager.dart

lib/src/Database_Manager.dart is not formatted according to dartfmt

To format your files run: dartfmt -w .

Support up-to-date dependencies
10 / 20

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

PackageConstraintCompatibleLatest
mongo_dart^0.3.50.3.60.4.4
Transitive dependencies
PackageConstraintCompatibleLatest
async-2.4.22.4.2
bson-0.3.40.3.4
characters-1.0.01.0.0
charcode-1.1.31.1.3
collection-1.14.131.14.13
convert-2.1.12.1.1
crypto-2.1.52.1.5
fixnum-0.10.110.10.11
logging-0.11.40.11.4
meta-1.2.41.2.4
mongo_dart_query-0.3.20.4.2
more-2.8.02.8.0
path-1.7.01.7.0
pool-1.4.01.4.0
rational-0.3.80.3.8
stack_trace-1.9.61.9.6
typed_data-1.2.01.2.0
uuid-2.2.22.2.2

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

The constraint `^0.3.5` on mongo_dart does not support the latest published version `0.4.4`

pubspec.yaml:12:15

   ╷
12 │   mongo_dart: ^0.3.5
   │               ^^^^^^
   ╵

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

0
likes
45
pub points
0%
popularity

A backend framework with automated REST generation

Homepage

Documentation

API reference

Uploader

raed.dev@gmail.com

License

MIT (LICENSE)

Dependencies

mongo_dart

More

Packages that depend on wing