clerk_flutter 0.0.8-beta
clerk_flutter: ^0.0.8-beta copied to clipboard
Package that will allow you to authenticate and use Clerk from Flutter code.
We analyzed this package 42 hours ago, and awarded it 110 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
Issue tracker URL doesn't exist.
At the time of the analysis https://github.com/clerk/clerk-sdk-flutter/labels/clerk_flutter
was unreachable. Make sure that the website is reachable via HEAD
requests.
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
.
10/10 points: 20% or more of the public API has dartdoc comments
281 out of 286 API elements (98.3 %) have documentation comments.
Some symbols that are missing documentation: clerk_flutter.ClerkSdkLocalizations.ClerkSdkLocalizations.new
, clerk_flutter.ClerkSdkLocalizations.delegate
, clerk_flutter.ClerkSdkLocalizations.localeName
, clerk_flutter.ClerkSdkLocalizations.of
, clerk_flutter.lookupClerkSdkLocalizations
.
10/10 points: Package has an example
20/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ macOS
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:clerk_flutter/clerk_flutter.dart
that imports:package:clerk_flutter/src/widgets/user/clerk_user_profile.dart
that imports:package:clerk_flutter/src/widgets/ui/clerk_input_dialog.dart
that imports:package:clerk_flutter/src/clerk_auth_state.dart
that imports:package:webview_flutter/webview_flutter.dart
that declares support for platforms:Android
,iOS
,macOS
.
Package does not support platform `Linux`.
Because:
package:clerk_flutter/clerk_flutter.dart
that imports:package:clerk_flutter/src/widgets/user/clerk_user_profile.dart
that imports:package:clerk_flutter/src/widgets/ui/clerk_input_dialog.dart
that imports:package:clerk_flutter/src/clerk_auth_state.dart
that imports:package:webview_flutter/webview_flutter.dart
that declares support for platforms:Android
,iOS
,macOS
.
Package does not support platform `Web`.
Because:
package:clerk_flutter/clerk_flutter.dart
that imports:package:clerk_flutter/src/widgets/user/clerk_user_profile.dart
that imports:package:clerk_flutter/src/widgets/ui/clerk_input_dialog.dart
that imports:package:clerk_flutter/src/clerk_auth_state.dart
that imports:package:webview_flutter/webview_flutter.dart
that declares support for platforms:Android
,iOS
,macOS
.
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:clerk_flutter/clerk_flutter.dart
that imports:package:clerk_flutter/src/widgets/user/clerk_user_button.dart
that imports:package:adaptive_dialog/adaptive_dialog.dart
that imports:package:adaptive_dialog/src/text_input_dialog/show_text_input_dialog.dart
that imports:package:adaptive_dialog/src/text_input_dialog/macos_text_input_dialog.dart
that imports:package:macos_ui/macos_ui.dart
that declares support for platforms:macOS
.
Package does not support platform `iOS`.
Because:
package:clerk_flutter/clerk_flutter.dart
that imports:package:clerk_flutter/src/widgets/user/clerk_user_button.dart
that imports:package:adaptive_dialog/adaptive_dialog.dart
that imports:package:adaptive_dialog/src/text_input_dialog/show_text_input_dialog.dart
that imports:package:adaptive_dialog/src/text_input_dialog/macos_text_input_dialog.dart
that imports:package:macos_ui/macos_ui.dart
that declares support for platforms:macOS
.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:clerk_flutter/clerk_flutter.dart
that imports:package:clerk_flutter/src/widgets/user/clerk_user_profile.dart
that imports:package:clerk_flutter/src/widgets/user/connect_account_panel.dart
that imports:package:clerk_flutter/src/widgets/ui/clerk_panel_header.dart
that imports:package:clerk_flutter/src/widgets/control/clerk_auth.dart
that imports:package:clerk_flutter/src/utils/clerk_telemetry.dart
that imports:package:clerk_auth/clerk_auth.dart
that imports:package:clerk_auth/src/utils/logging.dart
that imports:dart:io
This package is not compatible with runtime wasm
, and will not be rewarded full points in a future version of the scoring model.
See https://dart.dev/web/wasm for details.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 6 issues. Showing the first 2:
WARNING: The parameter type of '==' operators should be non-nullable.
lib/src/widgets/organization/clerk_organization_list.dart:369:12
╷
369 │ operator ==(dynamic other) => other is _Organization && orgId == other.orgId;
│ ^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/widgets/organization/clerk_organization_list.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/ui/clerk_material_button.dart:75:20
╷
75 │ padding: MaterialStateProperty.all(EdgeInsets.zero),
│ ^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/widgets/ui/clerk_material_button.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
adaptive_dialog |
^1.10.1 |
1.10.1 | 2.4.1 | |
clerk_auth |
>=0.0.6-dev <1.0.0 |
0.0.8-beta | 0.0.8-beta | |
collection |
^1.17.1 |
1.19.1 | 1.19.1 | |
email_validator |
^3.0.0 |
3.0.0 | 3.0.0 | |
flutter_svg |
^2.0.10+1 |
2.0.17 | 2.0.17 | |
image_picker |
^1.0.7 |
1.1.2 | 1.1.2 | |
intl |
any |
0.19.0 | 0.20.2 | |
path_provider |
^2.1.2 |
2.1.5 | 2.1.5 | |
phone_input |
^1.0.0 |
1.0.0 | 1.0.0 | |
webview_flutter |
^4.4.3 |
4.10.0 | 4.10.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
animations |
- | 2.0.11 | 2.0.11 | |
appkit_ui_element_colors |
- | 1.0.0 | 1.0.0 | |
args |
- | 2.7.0 | 2.7.0 | |
async |
- | 2.12.0 | 2.13.0 | |
boolean_selector |
- | 2.1.2 | 2.1.2 | |
characters |
- | 1.4.0 | 1.4.0 | |
clock |
- | 1.1.2 | 1.1.2 | |
cross_file |
- | 0.3.4+2 | 0.3.4+2 | |
diacritic |
- | 0.1.6 | 0.1.6 | |
dynamic_color |
- | 1.7.0 | 1.7.0 | |
equatable |
- | 2.0.7 | 2.0.7 | |
fake_async |
- | 1.3.2 | 1.3.3 | |
ffi |
- | 2.1.4 | 2.1.4 | |
file_selector_linux |
- | 0.9.3+2 | 0.9.3+2 | |
file_selector_macos |
- | 0.9.4+2 | 0.9.4+2 | |
file_selector_platform_interface |
- | 2.6.2 | 2.6.2 | |
file_selector_windows |
- | 0.9.3+4 | 0.9.3+4 | |
flutter_plugin_android_lifecycle |
- | 2.0.27 | 2.0.27 | |
gradient_borders |
- | 1.0.1 | 1.0.1 | |
http |
- | 1.3.0 | 1.3.0 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
image_picker_android |
- | 0.8.12+22 | 0.8.12+22 | |
image_picker_for_web |
- | 3.0.6 | 3.0.6 | |
image_picker_ios |
- | 0.8.12+2 | 0.8.12+2 | |
image_picker_linux |
- | 0.2.1+2 | 0.2.1+2 | |
image_picker_macos |
- | 0.2.1+2 | 0.2.1+2 | |
image_picker_platform_interface |
- | 2.10.1 | 2.10.1 | |
image_picker_windows |
- | 0.2.1+1 | 0.2.1+1 | |
intersperse |
- | 2.0.0 | 2.0.0 | |
json_annotation |
- | 4.9.0 | 4.9.0 | |
leak_tracker |
- | 10.0.8 | 10.0.9 | |
leak_tracker_flutter_testing |
- | 3.0.9 | 3.0.9 | |
leak_tracker_testing |
- | 3.0.1 | 3.0.1 | |
logging |
- | 1.3.0 | 1.3.0 | |
macos_ui |
- | 2.1.10 | 2.1.10 | |
macos_window_utils |
- | 1.7.1 | 1.7.1 | |
matcher |
- | 0.12.17 | 0.12.17 | |
material_color_utilities |
- | 0.11.1 | 0.12.0 | |
meta |
- | 1.16.0 | 1.16.0 | |
mime |
- | 2.0.0 | 2.0.0 | |
path |
- | 1.9.1 | 1.9.1 | |
path_parsing |
- | 1.1.0 | 1.1.0 | |
path_provider_android |
- | 2.2.16 | 2.2.16 | |
path_provider_foundation |
- | 2.4.1 | 2.4.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 | |
petitparser |
- | 6.1.0 | 6.1.0 | |
platform |
- | 3.1.6 | 3.1.6 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
source_span |
- | 1.10.1 | 1.10.1 | |
stack_trace |
- | 1.12.1 | 1.12.1 | |
stream_channel |
- | 2.1.4 | 2.1.4 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
test_api |
- | 0.7.4 | 0.7.4 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vector_graphics |
- | 1.1.18 | 1.1.18 | |
vector_graphics_codec |
- | 1.1.13 | 1.1.13 | |
vector_graphics_compiler |
- | 1.1.16 | 1.1.16 | |
vector_math |
- | 2.1.4 | 2.1.4 | |
vm_service |
- | 14.3.1 | 15.0.0 | |
web |
- | 1.1.1 | 1.1.1 | |
webview_flutter_android |
- | 4.3.4 | 4.3.4 | |
webview_flutter_platform_interface |
- | 2.10.0 | 2.10.0 | |
webview_flutter_wkwebview |
- | 3.18.5 | 3.18.5 | |
xdg_directories |
- | 1.1.0 | 1.1.0 | |
xml |
- | 6.5.0 | 6.5.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^1.10.1` on adaptive_dialog does not support the stable version `2.0.0`.
Try running dart pub upgrade --major-versions adaptive_dialog
to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 104 errors:
MISSING_REQUIRED_ARGUMENT
-lib/src/clerk_auth_state.dart:27:9
- The named parameter 'publishableKey' is required, but there's no corresponding argument.UNDEFINED_NAMED_PARAMETER
-lib/src/clerk_auth_state.dart:28:11
- The named parameter 'config' isn't defined.ARGUMENT_TYPE_NOT_ASSIGNABLE
-lib/src/clerk_auth_state.dart:30:24
- The argument type 'HttpService?' can't be assigned to the parameter type 'HttpService'.
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.22.20
, Flutter 3.29.2
, Dart 3.7.2
.
Check the analysis log for details.