casauth 1.2.0 copy "casauth: ^1.2.0" to clipboard
casauth: ^1.2.0 copied to clipboard

A third Flutter client SDK for casdoor.

115/ 160
pub points
42
downloads

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

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

Homepage URL doesn't exist.

At the time of the analysis https://blog.kongfanjian.com/projects/casauth-sdk.html was unreachable. Make sure that the website is reachable via HEAD requests.

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

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

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

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
10 / 20trigger folding of the section

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

OUT: Documenting casauth... Discovering libraries... Linking elements... Precaching local docs for 659473 elements... Initialized dartdoc with 939 libraries Generating docs for library config.dart from package:casauth/config.dart... Generating docs for library user.dart from package:casauth/user.dart... Generating docs for library casauth.dart from package:casauth/casauth.dart... Generating docs for library result.dart from package:casauth/result.dart... Generating docs for library client.dart from package:casauth/client.dart... [2 more lines] ERR: warning: unresolved doc reference [-] from package-casauth: file:///tmp/pana_ERKRDP warning: casauth has no library level documentation comments from casauth: (file:///tmp/pana_ERKRDP/lib/config.dart:1:1) warning: casauth has no library level documentation comments from casauth: (file:///tmp/pana_ERKRDP/lib/casauth.dart:1:1) error: file already written at "casauth/index.html" for symbol casauth: (file:///tmp/pana_ERKRDP/lib/casauth.dart:1:1) conflicting with file already generated by casauth: (file:///tmp/pana_ERKRDP/lib/config.dart:1:1) Dartdoc generates a path and filename to write to for each symbol. [51 more lines]

Passed check 10/10 points: Package has 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.dev/web/wasm for details.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

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

INFO: Missing type annotation.

lib/casauth.dart:94:10

   ╷
94 │   static clearCache() async {
   │          ^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/casauth.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
crypto ^3.0.2 3.0.7 3.0.7
cupertino_icons ^1.0.2 1.0.8 1.0.8
email_validator ^2.1.17 2.1.17 3.0.0
http ^0.13.5 0.13.6 1.6.0
shared_preferences ^2.0.15 2.5.4 2.5.4
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
ffi - 2.1.5 2.1.5
file - 7.0.1 7.0.1
http_parser - 4.1.2 4.1.2
material_color_utilities - 0.11.1 0.13.0
meta - 1.17.0 1.18.0
path - 1.9.1 1.9.1
path_provider_linux - 2.2.1 2.2.1
path_provider_platform_interface - 2.1.2 2.1.2
path_provider_windows - 2.3.0 2.3.0
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
shared_preferences_android - 2.4.18 2.4.18
shared_preferences_foundation - 2.5.6 2.5.6
shared_preferences_linux - 2.4.1 2.4.1
shared_preferences_platform_interface - 2.4.1 2.4.1
shared_preferences_web - 2.4.3 2.4.3
shared_preferences_windows - 2.4.1 2.4.1
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
xdg_directories - 1.1.0 1.1.0

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

The constraint `^2.1.17` on email_validator does not support the stable version `3.0.0`.

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

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

Try running dart pub upgrade --major-versions http 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.23.8, Flutter 3.38.6, Dart 3.10.7.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
1
likes
115
points
42
downloads

Publisher

unverified uploader

Weekly Downloads

A third Flutter client SDK for casdoor.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

crypto, cupertino_icons, email_validator, flutter, http, shared_preferences

More

Packages that depend on casauth