clerk_flutter 0.0.4-dev copy "clerk_flutter: ^0.0.4-dev" to clipboard
clerk_flutter: ^0.0.4-dev copied to clipboard

Package that will allow you to authenticate and use Clerk from Flutter code.

7
likes
120/ 160
pub points
396
downloads

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

partial
Follow Dart file conventions
30 / 30trigger folding of the section

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.

OK
Provide documentation
20 / 20trigger folding of the section

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

246 out of 370 API elements (66.5 %) have documentation comments.

Some symbols that are missing documentation: clerk_flutter.NullExtension, clerk_flutter.NullExtension.orNullIfEmpty, clerk_flutter.allPadding4, clerk_flutter.allPadding8, clerk_flutter.allPadding12.

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

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/control/clerk_auth_provider.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/control/clerk_auth_provider.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/control/clerk_auth_provider.dart that imports:
  • package:webview_flutter/webview_flutter.dart that declares support for platforms: Android, iOS, 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_button.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.

failed
Pass static analysis
30 / 50trigger folding of the section

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

Found 3 issues. Showing the first 2:

WARNING: Unused import: 'package:clerk_auth/clerk_auth.dart'.

lib/src/widgets/authentication/clerk_authentication_widget.dart:2:8

  ╷
2 │ import 'package:clerk_auth/clerk_auth.dart';
  │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/widgets/authentication/clerk_authentication_widget.dart

INFO: 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss.

lib/src/widgets/ui/multi_digit_code_input.dart:336:33

    ╷
336 │             color: Colors.black.withOpacity(_curve.value * 0.5),
    │                                 ^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/widgets/ui/multi_digit_code_input.dart

failed
Support up-to-date dependencies
20 / 40trigger folding of the section

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

Package Constraint Compatible Latest
clerk_auth ^0.0.3-dev 0.0.4-dev 0.0.4-dev
collection ^1.18.0 1.19.0 1.19.1
flutter flutter 0.0.0 0.0.0
flutter_inset_box_shadow ^1.0.8 1.0.8 1.0.8
flutter_svg ^2.0.10+1 2.0.16 2.0.16
phone_input ^1.0.0 1.0.0 1.0.0
webview_flutter ^4.8.0 4.10.0 4.10.0
Transitive dependencies
Package Constraint Compatible Latest
adaptive_number - 1.0.0 1.0.0
args - 2.6.0 2.6.0
async - 2.12.0 2.12.0
characters - 1.3.0 1.4.0
clock - 1.1.1 1.1.2
convert - 3.1.2 3.1.2
crypto - 3.0.6 3.0.6
dart_jsonwebtoken - 2.14.2 2.14.2
diacritic - 0.1.6 0.1.6
ed25519_edwards - 0.3.1 0.3.1
fixnum - 1.1.1 1.1.1
flutter_localizations - 0.0.0 0.0.0
http - 1.2.2 1.2.2
http_parser - 4.1.1 4.1.1
intl - 0.19.0 0.20.1
js - 0.7.1 0.7.1
json_annotation - 4.9.0 4.9.0
logging - 1.3.0 1.3.0
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
path - 1.9.0 1.9.1
path_parsing - 1.1.0 1.1.0
petitparser - 6.0.2 6.0.2
plugin_platform_interface - 2.1.8 2.1.8
pointycastle - 3.9.1 3.9.1
sky_engine - 0.0.0 0.0.0
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_graphics - 1.1.15 1.1.15
vector_graphics_codec - 1.1.12 1.1.12
vector_graphics_compiler - 1.1.16 1.1.16
vector_math - 2.1.4 2.1.4
web - 1.1.0 1.1.0
webview_flutter_android - 4.2.0 4.2.0
webview_flutter_platform_interface - 2.10.0 2.10.0
webview_flutter_wkwebview - 3.16.3 3.16.3
xml - 6.5.0 6.5.0

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

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 12 errors:

  • UNDEFINED_GETTER - lib/src/widgets/authentication/clerk_sign_up_panel.dart:161:35 - The getter 'isPassword' isn't defined for the type 'UserAttribute'.
  • UNDEFINED_PREFIXED_NAME - lib/src/widgets/control/clerk_auth.dart:14:27 - The name 'SessionTokenPollMode' is being referenced through the prefix 'clerk', but it isn't defined in any of the libraries imported using that prefix.
  • UNDEFINED_GETTER - lib/src/widgets/control/clerk_auth.dart:17:38 - The getter 'none' isn't defined for the type 'Persistor'.

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.17, Flutter 3.27.0, Dart 3.6.0.

Check the analysis log for details.

7
likes
120
points
396
downloads

Publisher

verified publisherclerk.com

Weekly Downloads

Package that will allow you to authenticate and use Clerk from Flutter code.

Homepage
Repository (GitHub)
View/report issues

Topics

#authentication

Documentation

API reference

License

MIT (license)

Dependencies

clerk_auth, collection, flutter, flutter_inset_box_shadow, flutter_svg, phone_input, webview_flutter

More

Packages that depend on clerk_flutter