flutter_discord_client 1.0.0 copy "flutter_discord_client: ^1.0.0" to clipboard
flutter_discord_client: ^1.0.0 copied to clipboard

Flutter Discord Client

40/ 160
pub points
41
downloads

We analyzed this package 7 days ago, and awarded it 40 pub points (of a possible 160):

Failed report section
Follow Dart file conventions
20 / 30trigger folding of the section

Failed check 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 50 to 180 characters to describe the package, what it does, and its target use case.

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Failed report section
Provide documentation
10 / 20trigger folding of the section

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

2032 out of 7762 API elements (26.2 %) have documentation comments.

Some symbols that are missing documentation: flutter_discord_client, flutter_discord_client.$AccountResponseCopyWith, flutter_discord_client.$ActionRowComponentForMessageRequestComponentsInnerCopyWith, flutter_discord_client.$ActionRowComponentForMessageRequestCopyWith, flutter_discord_client.$ActionRowComponentForModalRequestCopyWith.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Failed report section
Platform support
0 / 20trigger folding of the section

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

Failed report section
Pass static analysis
0 / 50trigger folding of the section

Failed check 0/50 points: code has no errors, warnings, lints, or formatting issues

Found 20 issues. Showing the first 2:

ERROR: The name 'call' is already defined.

lib/src/model/basic_message_response.g.dart:106:24

    ╷
106 │   BasicMessageResponse call({
    │                        ^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/model/basic_message_response.g.dart

ERROR: '_$BasicMessageResponseCWProxyImpl.call' ('BasicMessageResponse Function(MessageCallResponse?)') isn't a valid override of '_$BasicMessageResponseCWProxy.call' ('BasicMessageResponse Function({Object? activity, BasicApplicationResponse? application, String? applicationId, List

lib/src/model/basic_message_response.g.dart:222:24

    ╷
222 │   BasicMessageResponse call(MessageCallResponse? call) => this(call: call);
    │                        ^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/model/basic_message_response.g.dart

Failed report section
Support up-to-date dependencies
10 / 40trigger folding of the section

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

Package Constraint Compatible Latest Notes
copy_with_extension ^7.1.0 7.1.0 14.0.0
dio ^5.7.0 5.9.2 5.9.2
equatable ^2.0.7 2.0.8 2.0.8
json_annotation ^4.9.0 4.11.0 4.11.0
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.1 2.13.1
collection - 1.19.1 1.19.1
dio_web_adapter - 2.1.2 2.1.2
http_parser - 4.1.2 4.1.2
meta - 1.18.2 1.18.2
mime - 2.0.0 2.0.0
path - 1.9.1 1.9.1
source_span - 1.10.2 1.10.2
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
web - 1.1.1 1.1.1

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

The constraint `^7.1.0` on copy_with_extension does not support the stable version `8.0.0`.

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

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

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 9 errors:

  • DUPLICATE_DEFINITION - lib/src/model/basic_message_response.g.dart:106:24 - The name 'call' is already defined.
  • INVALID_OVERRIDE - lib/src/model/basic_message_response.g.dart:222:24 - '$BasicMessageResponseCWProxyImpl.call' ('BasicMessageResponse Function(MessageCallResponse?)') isn't a valid override of '$BasicMessageResponseCWProxy.call' ('BasicMessageResponse Function({Object? activity, BasicApplicationResponse? application, String? applicationId, List
  • DUPLICATE_DEFINITION - lib/src/model/basic_message_response.g.dart:302:24 - The name 'call' is already defined.

Run flutter pub downgrade and then flutter analyze to reproduce the above problem.

You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.

Analyzed with Pana 0.23.12, Dart 3.11.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
40
points
41
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Flutter Discord Client

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

copy_with_extension, dio, equatable, json_annotation

More

Packages that depend on flutter_discord_client