plurdart 0.1.58 icon indicating copy to clipboard operation
plurdart: ^0.1.58 copied to clipboard

A dart lib for Plurk APIs.

1
likes
50/ 130
pub points
0%
popularity

We analyzed this package 6 days ago, and awarded it 50 pub points (of a possible 130):

icon indicating section status
Follow Dart file conventions
20 / 30icon to trigger folding of the section

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

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected license: MIT.

icon indicating section status
Provide documentation
0 / 10icon 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.

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:plurdart/plurdart.dart that imports:
  • dart:io
icon indicating section status
Pass static analysis
0 / 30icon to trigger folding of the section

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

Found 243 issues. Showing the first 2:

ERROR: The argument type 'dynamic Function(dynamic)' can't be assigned to the parameter type 'FutureOr

lib/plurdart.dart:537:18

    ╷
537 │   return compute(parseUser as FutureOr<User> Function(_), response);
    │                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ╵

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

ERROR: Undefined class 'FutureOr'.

lib/plurdart.dart:537:31

    ╷
537 │   return compute(parseUser as FutureOr<User> Function(_), response);
    │                               ^^^^^^^^
    ╵

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

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

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

Package Constraint Compatible Latest
enum_to_string ^2.0.1 2.0.1 2.0.1
flutter flutter 0.0.0 0.0.0
http ^0.13.5 0.13.6 0.13.6
intl ^0.17.0 0.17.0 0.18.1
meta ^1.8.0 1.9.1 1.9.1
oauth1 ^2.0.0 2.0.0 2.0.0
Transitive dependencies
Package Constraint Compatible Latest
async - 2.11.0 2.11.0
characters - 1.3.0 1.3.0
clock - 1.1.1 1.1.1
collection - 1.17.1 1.17.2
crypto - 3.0.3 3.0.3
http_parser - 4.0.2 4.0.2
js - 0.6.7 0.6.7
material_color_utilities - 0.2.0 0.5.0
path - 1.8.3 1.8.3
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
string_scanner - 1.2.0 1.2.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.3.2 1.3.2
vector_math - 2.1.4 2.1.4

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

The constraint `^0.17.0` on intl does not support the stable version `0.18.0`.

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

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

icon indicating section status
Dart 3 & Flutter 3.10 compatibility
0 / 20icon to trigger folding of the section

0/20 points: Dart 3 & Flutter 3.10 compatibility has one or more issues.

Found 5 issues. Showing the first 2:

ERROR: The argument type 'dynamic Function(dynamic)' can't be assigned to the parameter type 'FutureOr

lib/plurdart.dart:537:18

    ╷
537 │   return compute(parseUser as FutureOr<User> Function(_), response);
    │                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ╵

To reproduce make sure you are using Dart 3 & Flutter 3.10 and run flutter analyze lib/plurdart.dart

ERROR: Undefined class 'FutureOr'.

lib/plurdart.dart:537:31

    ╷
537 │   return compute(parseUser as FutureOr<User> Function(_), response);
    │                               ^^^^^^^^
    ╵

To reproduce make sure you are using Dart 3 & Flutter 3.10 and run flutter analyze lib/plurdart.dart

Analysed with Pana 0.21.32, Flutter 3.10.0, Dart 3.0.0.