senior_authentication 0.4.0 icon indicating copy to clipboard operation
senior_authentication: ^0.4.0 copied to clipboard

Flutter package which manages the authentication domain.

8
likes
120/ 140
pub points
63%
popularity

We analyzed this package 16 hours ago, and awarded it 120 pub points (of a possible 140):

icon indicating section status
Follow Dart file conventions
20 / 30icon to trigger folding of the section

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 60 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://senior.com.br 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: BSD-3-Clause.

icon indicating section status
Provide documentation
20 / 20icon to trigger folding of the section

10/10 points: Package has an example

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

  • 41 out of 144 API elements (28.5 %) have documentation comments.
icon indicating section status
Platform support
20 / 20icon to trigger folding of the section

20/20 points: Supports 2 of 6 possible platforms (iOS, Android, Web, Windows, MacOS, Linux)

  • ✓ Android
  • ✓ iOS

These platforms are not supported:

Package does not support platform Windows.

Because:

  • package:senior_authentication/senior_authentication.dart that imports:
  • package:senior_authentication/src/screens/welcome/welcome_screen.dart that imports:
  • package:senior_authentication/src/screens/username/username_screen.dart that imports:
  • package:senior_authentication/src/screens/username/username_form.dart that imports:
  • package:senior_authentication/src/screens/saml/saml_screen.dart that imports:
  • package:senior_authentication/src/screens/saml/saml_web_view.dart that imports:
  • package:webview_flutter/webview_flutter.dart that declares support for platforms: Android, iOS.

Package does not support platform Linux.

Because:

  • package:senior_authentication/senior_authentication.dart that imports:
  • package:senior_authentication/src/screens/welcome/welcome_screen.dart that imports:
  • package:senior_authentication/src/screens/username/username_screen.dart that imports:
  • package:senior_authentication/src/screens/username/username_form.dart that imports:
  • package:senior_authentication/src/screens/saml/saml_screen.dart that imports:
  • package:senior_authentication/src/screens/saml/saml_web_view.dart that imports:
  • package:webview_flutter/webview_flutter.dart that declares support for platforms: Android, iOS.

Package does not support platform macOS.

Because:

  • package:senior_authentication/senior_authentication.dart that imports:
  • package:senior_authentication/src/screens/welcome/welcome_screen.dart that imports:
  • package:senior_authentication/src/screens/username/username_screen.dart that imports:
  • package:senior_authentication/src/screens/username/username_form.dart that imports:
  • package:senior_authentication/src/screens/saml/saml_screen.dart that imports:
  • package:senior_authentication/src/screens/saml/saml_web_view.dart that imports:
  • package:webview_flutter/webview_flutter.dart that declares support for platforms: Android, iOS.

Package does not support platform Web.

Because:

  • package:senior_authentication/senior_authentication.dart that imports:
  • package:senior_authentication/src/screens/welcome/welcome_screen.dart that imports:
  • package:senior_authentication/src/screens/username/username_screen.dart that imports:
  • package:senior_authentication/src/screens/username/username_form.dart that imports:
  • package:senior_authentication/src/screens/saml/saml_screen.dart that imports:
  • package:senior_authentication/src/screens/saml/saml_web_view.dart that imports:
  • package:webview_flutter/webview_flutter.dart that 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:senior_authentication/senior_authentication.dart that imports:
  • package:senior_authentication/src/screens/welcome/welcome_screen.dart that imports:
  • package:senior_authentication/src/screens/username/username_screen.dart that imports:
  • package:senior_authentication/src/screens/username/username_form.dart that imports:
  • package:senior_authentication/src/screens/saml/saml_screen.dart that imports:
  • package:senior_authentication/src/screens/saml/saml_web_view.dart that imports:
  • package:webview_flutter/webview_flutter.dart that imports:
  • package:webview_flutter/src/webview.dart that imports:
  • package:webview_flutter_wkwebview/webview_flutter_wkwebview.dart that declares support for platforms: iOS.

Package does not support platform iOS.

Because:

  • package:senior_authentication/senior_authentication.dart that imports:
  • package:senior_authentication/src/screens/welcome/welcome_screen.dart that imports:
  • package:senior_authentication/src/screens/username/username_screen.dart that imports:
  • package:senior_authentication/src/screens/username/username_form.dart that imports:
  • package:senior_authentication/src/screens/saml/saml_screen.dart that imports:
  • package:senior_authentication/src/screens/saml/saml_web_view.dart that imports:
  • package:webview_flutter/webview_flutter.dart that imports:
  • package:webview_flutter/src/webview.dart that imports:
  • package:webview_flutter_android/webview_surface_android.dart that declares support for platforms: Android.
icon indicating section status
Pass static analysis
20 / 30icon to trigger folding of the section

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

Found 9 issues. Showing the first 2:

lib/src/authentication_repository.dart doesn't match the Dart formatter.

To format your files run: flutter format .

lib/src/models/refresh_token_model.dart doesn't match the Dart formatter.

To format your files run: flutter format .

icon indicating section status
Support up-to-date dependencies
20 / 20icon to trigger folding of the section

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

PackageConstraintCompatibleLatest
connectivity^3.0.63.0.63.0.6
dio^4.0.04.0.64.0.6
equatable^2.0.32.0.52.0.5
flutterflutter0.0.00.0.0
flutter_bloc^8.0.08.1.18.1.1
flutter_inappwebview^5.4.4+35.7.2+25.7.2+2
flutter_svg^1.0.01.1.61.1.6
google_fonts^3.0.13.0.13.0.1
http^0.13.30.13.50.13.5
shared_preferences^2.0.62.0.152.0.15
webview_flutter^3.0.43.0.43.0.4
Transitive dependencies
PackageConstraintCompatibleLatest
async-2.10.02.10.0
bloc-8.1.08.1.0
characters-1.2.11.2.1
collection-1.16.01.17.0
connectivity_for_web-0.4.0+10.4.0+1
connectivity_macos-0.2.1+20.2.1+2
connectivity_platform_interface-2.0.12.0.1
crypto-3.0.23.0.2
ffi-2.0.12.0.1
file-6.1.46.1.4
flutter_web_plugins-0.0.00.0.0
http_parser-4.0.24.0.2
js-0.6.40.6.5
material_color_utilities-0.1.50.2.0
meta-1.8.01.8.0
nested-1.0.01.0.0
path-1.8.31.8.3
path_drawing-1.0.11.0.1
path_parsing-1.0.11.0.1
path_provider-2.0.112.0.11
path_provider_android-2.0.222.0.22
path_provider_ios-2.0.112.0.11
path_provider_linux-2.1.72.1.7
path_provider_macos-2.0.62.0.6
path_provider_platform_interface-2.0.52.0.5
path_provider_windows-2.1.32.1.3
petitparser-5.1.05.1.0
platform-3.1.03.1.0
plugin_platform_interface-2.1.32.1.3
process-4.2.44.2.4
provider-6.0.46.0.4
shared_preferences_android-2.0.142.0.14
shared_preferences_ios-2.1.12.1.1
shared_preferences_linux-2.1.12.1.1
shared_preferences_macos-2.0.42.0.4
shared_preferences_platform_interface-2.1.02.1.0
shared_preferences_web-2.0.42.0.4
shared_preferences_windows-2.1.12.1.1
sky_engine-0.0.990.0.99
source_span-1.9.11.9.1
string_scanner-1.2.01.2.0
term_glyph-1.2.11.2.1
typed_data-1.3.11.3.1
vector_math-2.1.22.1.4
webview_flutter_android-2.10.42.10.4
webview_flutter_platform_interface-1.9.51.9.5
webview_flutter_wkwebview-2.9.52.9.5
win32-3.1.23.1.2
xdg_directories-0.2.0+20.2.0+2
xml-6.1.06.2.2

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

icon indicating section status
Support sound null safety
20 / 20icon to trigger folding of the section

20/20 points: Package and dependencies are fully migrated to null safety!

Analysed with Pana 0.21.22, Flutter 3.3.9, Dart 2.18.5.