amplify_authenticator 0.2.5 copy "amplify_authenticator: ^0.2.5" to clipboard
amplify_authenticator: ^0.2.5 copied to clipboard

A prebuilt Sign In and Sign Up experience for the Amplify Auth category

39
likes
60/ 160
pub points
97%
popularity

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

failed
Follow Dart file conventions
20 / 30trigger folding of the section

0/10 points: Provide a valid pubspec.yaml

Issue tracker URL doesn't exist.

At the time of the analysis https://github.com/aws-amplify/amplify-flutter/issues was unreachable. Make sure that the website is reachable via HEAD requests.

Failed to verify repository URL.

Please provide a valid repository URL in pubspec.yaml, such that:

  • repository can be cloned,
  • a clone of the repository contains a pubspec.yaml, which:,
    • contains name: amplify_authenticator,
    • contains a version property, and,
    • does not contain a publish_to property.

Repository has multiple matching pubspec.yaml with name: amplify_authenticator.

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: Apache-2.0.

failed
Provide documentation
10 / 20trigger folding of the section

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

631 out of 783 API elements (80.6 %) have documentation comments.

Some symbols that are missing documentation: Prebuilt Widgets, amplify_authenticator.AuthProvider, amplify_authenticator.AuthProvider.AuthProvider.custom, amplify_authenticator.AuthProvider.amazon, amplify_authenticator.AuthProvider.apple.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

failed
Platform support
20 / 20trigger 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:amplify_authenticator/amplify_authenticator.dart that imports:
  • package:amplify_authenticator/src/widgets/form_field.dart that imports:
  • package:amplify_authenticator/src/widgets/form.dart that imports:
  • package:amplify_flutter/amplify_flutter.dart that declares support for platforms: Android, iOS.
Package does not support platform `Linux`.

Because:

  • package:amplify_authenticator/amplify_authenticator.dart that imports:
  • package:amplify_authenticator/src/widgets/form_field.dart that imports:
  • package:amplify_authenticator/src/widgets/form.dart that imports:
  • package:amplify_flutter/amplify_flutter.dart that declares support for platforms: Android, iOS.
Package does not support platform `macOS`.

Because:

  • package:amplify_authenticator/amplify_authenticator.dart that imports:
  • package:amplify_authenticator/src/widgets/form_field.dart that imports:
  • package:amplify_authenticator/src/widgets/form.dart that imports:
  • package:amplify_flutter/amplify_flutter.dart that declares support for platforms: Android, iOS.
Package does not support platform `Web`.

Because:

  • package:amplify_authenticator/amplify_authenticator.dart that imports:
  • package:amplify_authenticator/src/widgets/form_field.dart that imports:
  • package:amplify_authenticator/src/widgets/form.dart that imports:
  • package:amplify_flutter/amplify_flutter.dart that declares support for platforms: Android, iOS.

0/0 points: WASM compatibility

Unable to detect compatibility with runtime wasm, and this package 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
0 / 50trigger folding of the section

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

Found 39 issues. Showing the first 2:

ERROR: The getter 'subtitle1' isn't defined for the type 'TextTheme'.

lib/src/mixins/authenticator_phone_field.dart:80:49

   ╷
80 │                     Theme.of(context).textTheme.subtitle1,
   │                                                 ^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/mixins/authenticator_phone_field.dart

ERROR: The getter 'headline6' isn't defined for the type 'TextTheme'.

lib/src/mixins/authenticator_phone_field.dart:116:55

    ╷
116 │                           Theme.of(context).textTheme.headline6!,
    │                                                       ^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/mixins/authenticator_phone_field.dart

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

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

Package Constraint Compatible Latest
amplify_auth_cognito ^0.6.2 0.6.14 2.5.0
amplify_core ^0.6.2 0.6.14 2.5.0
amplify_flutter ^0.6.2 0.6.14 2.5.0
async ^2.6.0 2.12.0 2.12.0
aws_common ^0.1.1 0.1.1 0.7.4
collection ^1.15.0 1.18.0 1.19.1
flutter flutter 0.0.0 0.0.0
flutter_localizations flutter 0.0.0 0.0.0
intl >=0.17.0 <1.0.0 0.19.0 0.20.0
stream_transform ^2.0.0 2.1.0 2.1.0
Transitive dependencies
Package Constraint Compatible Latest
amplify_auth_cognito_android - 0.6.14 1.1.0
amplify_auth_cognito_ios - 0.6.14 1.1.0
amplify_datastore_plugin_interface - 0.6.14 2.5.0
amplify_flutter_android - 0.6.14 1.0.1
amplify_flutter_ios - 0.6.14 1.0.0
characters - 1.3.0 1.3.1
clock - 1.1.1 1.1.2
crypto - 3.0.6 3.0.6
http - 0.13.6 1.2.2
http_parser - 4.0.2 4.1.1
json_annotation - 4.9.0 4.9.0
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
path - 1.9.0 1.9.1
plugin_platform_interface - 2.1.8 2.1.8
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
string_scanner - 1.4.0 1.4.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.4.0 1.4.0
uuid - 3.0.6 4.5.1
vector_math - 2.1.4 2.1.4

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

Found 4 issues. Showing the first 2:

The constraint `^0.6.2` on amplify_auth_cognito does not support the stable version `1.0.0`.

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

The constraint `^0.6.2` on amplify_core does not support the stable version `1.0.0`.

Try running dart pub upgrade --major-versions amplify_core 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 19 errors:

  • UNDEFINED_GETTER - lib/src/mixins/authenticator_phone_field.dart:80:49 - The getter 'subtitle1' isn't defined for the type 'TextTheme'.
  • UNDEFINED_GETTER - lib/src/mixins/authenticator_phone_field.dart:116:55 - The getter 'headline6' isn't defined for the type 'TextTheme'.
  • UNDEFINED_GETTER - lib/src/screens/authenticator_screen.dart:137:48 - The getter 'headline6' isn't defined for the type 'TextTheme'.

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.15, Flutter 3.24.5, Dart 3.5.4.

Check the analysis log for details.