Geetest Flutter plugin.
Basic function version, waiting for iteration.
Add this to your package's pubspec.yaml file:
dependencies:
geetest_plugin: ^0.1.6
You can install packages from the command line:
with Flutter:
$ flutter packages get
Alternatively, your editor might support flutter packages get. Check the docs for your editor to learn more.
Now in your Dart code, you can use:
import 'package:geetest_plugin/geetest_plugin.dart';
Future<void> getGeetest() async {
String result;
// Platform messages may fail, so we use a try/catch PlatformException.
try {
result = await GeetestPlugin.getGeetest('url: api1');
} on PlatformException {
// _json = 'Failed to get platform version.';
}
// If the widget was removed from the tree while the asynchronous platform
// message was in flight, we want to discard the reply rather than calling
// setState to update our non-existent appearance.
if (!mounted) return;
setState(() {
_json = result;
});
}
commenting out use_frameworks
example/README.md
Demonstrates how to use the geetest_plugin plugin.
For help getting started with Flutter, view our online documentation.
Add this to your package's pubspec.yaml file:
dependencies:
geetest_plugin: ^0.1.6
You can install packages from the command line:
with Flutter:
$ flutter packages get
Alternatively, your editor might support flutter packages get
.
Check the docs for your editor to learn more.
Now in your Dart code, you can use:
import 'package:geetest_plugin/geetest_plugin.dart';
Version | Uploaded | Documentation | Archive |
---|---|---|---|
0.1.6 | Dec 7, 2018 |
|
|
0.1.5 | Nov 6, 2018 |
|
|
0.1.4 | Nov 6, 2018 |
|
|
0.1.3 | Oct 22, 2018 |
|
|
0.1.2 | Oct 22, 2018 |
|
|
0.1.1 | Sep 21, 2018 |
|
|
0.1.0 | Sep 20, 2018 |
|
|
0.0.9 | Sep 20, 2018 |
|
|
0.0.5 | Sep 19, 2018 |
|
|
0.0.3 | Sep 14, 2018 |
|
|
Popularity:
Describes how popular the package is relative to other packages.
[more]
|
38
|
Health:
Code health derived from static analysis.
[more]
|
100
|
Maintenance:
Reflects how tidy and up-to-date the package is.
[more]
|
70
|
Overall:
Weighted score of the above.
[more]
|
63
|
We analyzed this package on Feb 14, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:
Detected platforms: Flutter
References Flutter, and has no conflicting libraries.
The description contains too many non-ASCII characters. (-20 points)
The site uses English as its primary language. The value of the description
field in your package's pubspec.yaml
field should primarily contain characters used in English.
The package description is too short. (-10 points)
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.
Package | Constraint | Resolved | Available |
---|---|---|---|
Direct dependencies | |||
Dart SDK | >=2.0.0-dev.68.0 <3.0.0 | ||
flutter | 0.0.0 | ||
Transitive dependencies | |||
collection | 1.14.11 | ||
meta | 1.1.6 | 1.1.7 | |
sky_engine | 0.0.99 | ||
typed_data | 1.1.6 | ||
vector_math | 2.0.8 | ||
Dev dependencies | |||
flutter_test |