sdk_example 1.0.95 copy "sdk_example: ^1.0.95" to clipboard
sdk_example: ^1.0.95 copied to clipboard

A Sample SDK for testing purpose.

90/ 160
pub points
142
downloads

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

Failed report section
Follow Dart file conventions
10 / 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.

  • pubspec.yaml doesn't have a homepage entry.

  • pubspec.yaml doesn't have a repository entry.

Failed check 0/5 points: Provide a valid README.md

`README.md` is empty.

The README.md file should inform others about your project, what it does, and how they can use it. Check out the guidelines on Writing great package pages.

Failed check 0/5 points: Provide a valid CHANGELOG.md

`CHANGELOG.md` does not contain reference to the current version ("1.0.95").

Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.

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

Detected license: MIT.

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

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

OUT: Documenting sdk_example... Discovering libraries... Linking elements... Precaching local docs for 1219289 elements... Initialized dartdoc with 1201 libraries Generating docs for library sdk_example.dart from package:sdk_example/sdk_example.dart... Generating docs for library CustomSDK.dart from package:sdk_example/CustomSDK.dart... Generating docs for library NewWebView.dart from package:sdk_example/NewWebView.dart... Documented 3 public libraries in 80.1 seconds ERR: warning: sdk_example has no library level documentation comments from sdk_example: (file:///tmp/pana_NJSVLR/lib/sdk_example.dart:1:1) warning: sdk_example has no library level documentation comments from sdk_example: (file:///tmp/pana_NJSVLR/lib/CustomSDK.dart:1:1) error: file already written at "sdk_example/index.html" for symbol sdk_example: (file:///tmp/pana_NJSVLR/lib/CustomSDK.dart:1:1) conflicting with file already generated by sdk_example: (file:///tmp/pana_NJSVLR/lib/sdk_example.dart:1:1) Dartdoc generates a path and filename to write to for each symbol. 'sdk_example' conflicts with another symbol in the generated path, and therefore can not be written out. Changing the name, library name, or [18 more lines]

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Passed report section
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

Passed check 0/0 points: WASM compatibility

This package is compatible with runtime wasm, and will be rewarded additional points in a future version of the scoring model.

See https://dart.cn/web/wasm for details.

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

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

Found 22 issues. Showing the first 2:

WARNING: The value of the local variable 'ppConfigObject' isn't used.

lib/CustomSDK.dart:97:12

   ╷
97 │     String ppConfigObject = jsonEncode(config['pp_config']);
   │            ^^^^^^^^^^^^^^
   ╵

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

WARNING: The value of the local variable 'feeHeadersObject' isn't used.

lib/CustomSDK.dart:98:12

   ╷
98 │     String feeHeadersObject = jsonEncode(config['fee_headers']);
   │            ^^^^^^^^^^^^^^^^
   ╵

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

Failed report section
Support up-to-date dependencies
30 / 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
flutter_cashfree_pg_sdk ^2.0.23+26 2.2.9+47 2.2.9+47
flutter_inappwebview ^5.8.0 5.8.0 6.1.5
http ^1.1.0 1.5.0 1.5.0
razorpay_flutter ^1.3.5 1.4.0 1.4.0
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.0 2.13.0
characters - 1.4.0 1.4.1
collection - 1.19.1 1.19.1
eventify - 1.0.1 1.0.1
fluttertoast - 8.2.14 9.0.0
http_parser - 4.1.2 4.1.2
js - 0.6.7 0.7.2 Discontinued
material_color_utilities - 0.11.1 0.13.0
meta - 1.16.0 1.17.0
path - 1.9.1 1.9.1
plugin_platform_interface - 2.1.8 2.1.8
source_span - 1.10.1 1.10.1
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
vector_math - 2.2.0 2.2.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 `^5.8.0` on flutter_inappwebview does not support the stable version `6.0.0`.

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

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

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.23, Flutter 3.35.5, Dart 3.9.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
1
likes
90
points
142
downloads

Publisher

unverified uploader

Weekly Downloads

A Sample SDK for testing purpose.

Documentation

API reference

License

MIT (license)

Dependencies

flutter, flutter_cashfree_pg_sdk, flutter_inappwebview, http, razorpay_flutter

More

Packages that depend on sdk_example