recaptcha_facade 1.0.0

  • README.md
  • CHANGELOG.md
  • Installing
  • Versions
  • 46

recaptcha_facade

Library to render and control recaptcha.

From authors of Jaguar.

Usage

import 'package:recaptcha_facade/recaptcha_facade.dart';

main() async {
  final recaptcha = await Recaptcha.create(
      '6Lf3HCkUAAAAAJ2mRonRdQ7Ma-k9Or9uj7lxRy7a', querySelector('#output'));
  recaptcha.onSuccess.listen(print);
}

Simple example

For a simple client-only example, check out this example.

Complete example

For a complete example with client, check out this example.

Changelog

1.0.0

  • Recaptcha to render and control a recaptcha.

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  recaptcha_facade: "^1.0.0"

2. Install it

You can install packages from the command line:

with pub:


$ pub get

Alternatively, your editor might support pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


import 'package:recaptcha_facade/recaptcha_facade.dart';
        
Version Uploaded Documentation Archive
1.0.0 Jan 14, 2018 Go to the documentation of recaptcha_facade 1.0.0 Download recaptcha_facade 1.0.0 archive

Analysis

We analyzed this package on Apr 23, 2018, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.0.0-dev.49.0
  • pana: 0.10.6

Scores

Popularity:
Describes how popular the package is relative to other packages. [more]
0 / 100
Health:
Code health derived from static analysis. [more]
86 / 100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
99 / 100
Overall score:
Weighted score of the above. [more]
46
Learn more about scoring.

Platforms

Detected platforms: web

Primary library: package:recaptcha_facade/recaptcha_facade.dart with components: html, js.

Suggestions

  • Fix analysis and formatting issues.

    Analysis or formatting checks reported 1 error 2 hints.

    Strong-mode analysis of lib/widget/widget.dart failed with the following error:

    line: 102 col: 11
    The method 'waitLoad' isn't defined for the class 'Recaptcha'.

    Run dartfmt to format lib/recaptcha_facade.dart.

  • The description is too short.

    Add more detail about the package, what it does and what is its target use case. Try to write at least 60 characters.

  • Maintain an example.

    Create a short demo in the example/ directory to show how to use this package. Common file name patterns include: main.dart, example.dart or you could also use recaptcha_facade.dart.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=1.20.1 <2.0.0
dart_browser_loader ^0.0.2 0.0.4
js ^0.6.1 0.6.1
Dev dependencies
browser 0.10.0+3
dart_to_js_script_rewriter