flutter_dauth 0.0.3  flutter_dauth: ^0.0.3 copied to clipboard
flutter_dauth: ^0.0.3 copied to clipboard
A Flutter Package which allows a Client-App to access and manipulate a resource that's owned by a resource owner (user) and lives on a DAuth server.
We analyzed this package 1 hour ago, and awarded it 140 pub points (of a possible 160):
 10/10 points: Provide a valid
 10/10 points: Provide a valid pubspec.yaml
 5/5 points: Provide a valid
 5/5 points: Provide a valid README.md
 5/5 points: Provide a valid
 5/5 points: Provide a valid CHANGELOG.md
 10/10 points: Use an OSI-approved license
 10/10 points: Use an OSI-approved license
Detected license: MIT.
 10/10 points: 20% or more of the public API has dartdoc comments
 10/10 points: 20% or more of the public API has dartdoc comments
42 out of 68 API elements (61.8 %) have documentation comments.
Some symbols that are missing documentation: flutter_dauth, flutter_dauth.AuthorizationCodeGrant.AuthorizationCodeGrant.new, flutter_dauth.DauthButton.DauthButton.new, flutter_dauth.ErrorResponse.ErrorResponse.fromJson, flutter_dauth.ErrorResponse.ErrorResponse.fromRawJson.
 10/10 points: Package has an example
 10/10 points: Package has an example
 20/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
 20/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
- 
✓ Android 
- 
✓ iOS 
- 
✓ Web 
These platforms are not supported:
Package does not support platform `Windows`.
Because:
- package:flutter_dauth/flutter_dauth.dartthat imports:
- package:flutter_dauth/src/widgets/dauth_web_view.dartthat imports:
- package:webviewx/webviewx.dartthat imports:
- package:webviewx/src/view/view.dartthat imports:
- package:webviewx/src/view/impl/io.dartthat imports:
- package:webviewx/src/view/impl/mobile.dartthat imports:
- package:webviewx/src/controller/impl/mobile.dartthat imports:
- package:webview_flutter/webview_flutter.dartthat declares support for platforms:- Android,- iOS.
Package does not support platform `Linux`.
Because:
- package:flutter_dauth/flutter_dauth.dartthat imports:
- package:flutter_dauth/src/widgets/dauth_web_view.dartthat imports:
- package:webviewx/webviewx.dartthat imports:
- package:webviewx/src/view/view.dartthat imports:
- package:webviewx/src/view/impl/io.dartthat imports:
- package:webviewx/src/view/impl/mobile.dartthat imports:
- package:webviewx/src/controller/impl/mobile.dartthat imports:
- package:webview_flutter/webview_flutter.dartthat declares support for platforms:- Android,- iOS.
Package does not support platform `macOS`.
Because:
- package:flutter_dauth/flutter_dauth.dartthat imports:
- package:flutter_dauth/src/widgets/dauth_web_view.dartthat imports:
- package:webviewx/webviewx.dartthat imports:
- package:webviewx/src/view/view.dartthat imports:
- package:webviewx/src/view/impl/io.dartthat imports:
- package:webviewx/src/view/impl/mobile.dartthat imports:
- package:webviewx/src/controller/impl/mobile.dartthat imports:
- package:webview_flutter/webview_flutter.dartthat declares support for platforms:- Android,- iOS.
These issues are present but do not affect the score, because they may not originate in your package:
Package does not support platform `Android`.
Because:
- package:flutter_dauth/flutter_dauth.dartthat imports:
- package:flutter_dauth/src/widgets/dauth_web_view.dartthat imports:
- package:webviewx/webviewx.dartthat imports:
- package:webviewx/src/view/view.dartthat imports:
- package:webviewx/src/view/impl/io.dartthat imports:
- package:webviewx/src/view/impl/mobile.dartthat imports:
- package:webviewx/src/controller/impl/mobile.dartthat imports:
- package:webview_flutter/webview_flutter.dartthat imports:
- package:webview_flutter/src/webview.dartthat imports:
- package:webview_flutter_wkwebview/webview_flutter_wkwebview.dartthat declares support for platforms:- iOS.
Package does not support platform `iOS`.
Because:
- package:flutter_dauth/flutter_dauth.dartthat imports:
- package:flutter_dauth/src/widgets/dauth_web_view.dartthat imports:
- package:webviewx/webviewx.dartthat imports:
- package:webviewx/src/view/view.dartthat imports:
- package:webviewx/src/view/impl/io.dartthat imports:
- package:webviewx/src/view/impl/mobile.dartthat imports:
- package:webviewx/src/controller/impl/mobile.dartthat imports:
- package:webview_flutter/webview_flutter.dartthat imports:
- package:webview_flutter/src/webview.dartthat imports:
- package:webview_flutter_android/webview_android_cookie_manager.dartthat declares support for platforms:- Android.
 0/0 points: WASM compatibility
 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.
 40/50 points: code has no errors, warnings, lints, or formatting issues
 40/50 points: code has no errors, warnings, lints, or formatting issues
Found 4 issues. Showing the first 2:
INFO: Use 'const' with the constructor to improve performance.
lib/src/widgets/dauth_button.dart:27:18
   ╷
27 │             child: Row(
   │ ┌──────────────────^
28 │ │             mainAxisAlignment: MainAxisAlignment.spaceEvenly,
29 │ │             children: const [
30 │ │               Expanded(
31 │ │                   flex: 1,
32 │ │                   child: SizedBox(
33 │ │                     height: 28,
34 │ │                     width: 28,
35 │ │                     child: Image(
36 │ │                         image: AssetImage('lib/src/img/delta_logo.png',
37 │ │                             package: 'flutter_dauth')),
38 │ │                   )),
39 │ │               Expanded(
40 │ │                 flex: 2,
41 │ │                 child: Text(
42 │ │                   'Sign In With DAuth',
   │ └────^
   ╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/widgets/dauth_button.dart
INFO: 'MaterialStateProperty' is deprecated and shouldn't be used. Use WidgetStateProperty instead. Moved to the Widgets layer to make code available outside of Material. This feature was deprecated after v3.19.0-0.3.pre.
lib/src/widgets/dauth_button.dart:50:26
   ╷
50 │               elevation: MaterialStateProperty.all<double>(16),
   │                          ^^^^^^^^^^^^^^^^^^^^^
   ╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/widgets/dauth_button.dart
 0/10 points: All of the package dependencies are supported in the latest version
 0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes | 
|---|---|---|---|---|
| crypto | ^3.0.1 | 3.0.6 | 3.0.6 | |
| http | ^0.13.4 | 0.13.6 | 1.5.0 | |
| webviewx | ^0.2.1 | 0.2.2 | 0.2.2 | 
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 | |
| http_parser | - | 4.1.2 | 4.1.2 | |
| 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 | |
| pointer_interceptor | - | 0.9.3+7 | 0.10.1+2 | |
| 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 | |
| uuid | - | 3.0.7 | 4.5.1 | |
| vector_math | - | 2.2.0 | 2.2.0 | |
| webview_flutter | - | 2.8.0 | 4.13.0 | |
| webview_flutter_android | - | 2.10.4 | 4.10.5 | |
| webview_flutter_platform_interface | - | 1.9.5 | 2.14.0 | |
| webview_flutter_wkwebview | - | 2.9.5 | 3.23.2 | 
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^0.13.4` on http does not support the stable version `1.0.0`.
Try running dart pub upgrade --major-versions http to update the constraint.
 10/10 points: Package supports latest stable Dart and Flutter SDKs
 10/10 points: Package supports latest stable Dart and Flutter SDKs
 20/20 points: Compatible with dependency constraint lower bounds
 20/20 points: Compatible with dependency constraint lower bounds
pub downgrade does not expose any static analysis error.
Analyzed with Pana 0.23.0, Flutter 3.35.7, Dart 3.9.2.
Check the analysis log for details.