onechuan_plugin 0.1.9

  • Readme
  • Changelog
  • Example
  • Installing
  • 62

onechuan_plugin #

A new Flutter plugin.

Getting Started #

This project is a starting point for a Flutter plug-in package, a specialized package that includes platform-specific implementation code for Android and/or iOS.

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

0.0.1 #

  • TODO: Describe initial release.

0.0.2 #

加上了安卓的联系人功能

0.0.3 #

加上了ios的联系人功能

0.1.3 #

android webView加上加载框

0.1.4 #

增加对WebView中选择文件的支持/android 5.0以后

0.1.6 #

适配会员权益页面back键

0.1.9 #

修复android back键返回无限问题

example/README.md

onechuan_plugin_example #

Demonstrates how to use the onechuan_plugin plugin.

Getting Started #

This project is a starting point for a Flutter application.

A few resources to get you started if this is your first Flutter project:

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

Use this package as a library

1. Depend on it

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


dependencies:
  onechuan_plugin: ^0.1.9

2. Install it

You can install packages from the command line:

with Flutter:


$ flutter pub get

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

3. Import it

Now in your Dart code, you can use:


import 'package:onechuan_plugin/onechuan_plugin.dart';
  
Popularity:
Describes how popular the package is relative to other packages. [more]
35
Health:
Code health derived from static analysis. [more]
99
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
75
Overall:
Weighted score of the above. [more]
62
Learn more about scoring.

We analyzed this package on Jan 21, 2020, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.7.0
  • pana: 0.13.4
  • Flutter: 1.12.13+hotfix.5

Health suggestions

Fix lib/onechuan_plugin.dart. (-0.50 points)

Analysis of lib/onechuan_plugin.dart reported 1 hint:

line 6 col 8: Unused import: 'package:flutter_webview_plugin/flutter_webview_plugin.dart'.

Fix lib/webViewPage.dart. (-0.50 points)

Analysis of lib/webViewPage.dart reported 1 hint:

line 5 col 7: This class (or a class which this class inherits from) is marked as '@immutable', but one or more of its instance fields are not final: WebViewPage.url, WebViewPage.title

Maintenance suggestions

The package description is too short. (-20 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.

Homepage URL is insecure. (-5 points)

Update the homepage field and use a secure (https) URL.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.1.0 <3.0.0
flutter 0.0.0
flutter_webview_plugin ^0.3.9+1 0.3.10+1
permission_handler ^4.0.0 4.2.0+hotfix.2
Transitive dependencies
collection 1.14.11 1.14.12
meta 1.1.8
sky_engine 0.0.99
typed_data 1.1.6
vector_math 2.0.8
Dev dependencies
flutter_test