pia_framework_base 1.15.2

  • Readme
  • Changelog
  • Installing
  • 49

pia_framework_base #

A new Flutter package.

Getting Started #

This project is a starting point for a Dart package, a library module containing code that can be shared easily across multiple Flutter or Dart projects.

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: Add release date. #

  • TODO: Describe initial release.

Use this package as a library

1. Depend on it

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


dependencies:
  pia_framework_base: ^1.15.2

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:pia_framework_base/pia_framework_base.dart';
  
Popularity:
Describes how popular the package is relative to other packages. [more]
30
Health:
Code health derived from static analysis. [more]
75
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
60
Overall:
Weighted score of the above. [more]
49
Learn more about scoring.

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

  • Dart: 2.7.1
  • pana: 0.13.6
  • Flutter: 1.12.13+hotfix.8

Health suggestions

Fix lib/Form/PIA_Form.dart. (-15.67 points)

Analysis of lib/Form/PIA_Form.dart reported 34 hints, including:

line 10 col 7: Name types using UpperCamelCase.

line 19 col 35: Name non-constant identifiers using lowerCamelCase.

line 21 col 10: Name non-constant identifiers using lowerCamelCase.

line 22 col 10: Name non-constant identifiers using lowerCamelCase.

line 24 col 10: Name non-constant identifiers using lowerCamelCase.

Fix lib/PIA_ChatRoom/PIA_Chatroom.dart. (-13.53 points)

Analysis of lib/PIA_ChatRoom/PIA_Chatroom.dart reported 29 hints, including:

line 2 col 8: Don't import implementation files from another package.

line 12 col 8: Unused import: 'package:pia_framework_base/View/PIA_Page.dart'.

line 17 col 7: Name types using UpperCamelCase.

line 18 col 13: This function has a return type of 'Widget', but doesn't end with a return statement.

line 18 col 13: Name non-constant identifiers using lowerCamelCase.

Fix lib/API/PIA_API_Tablelist.dart. (-11.78 points)

Analysis of lib/API/PIA_API_Tablelist.dart reported 25 hints, including:

line 1 col 8: Don't import implementation files from another package.

line 6 col 8: Unused import: 'package:pia_framework_base/Lang/PIA_Lang.dart'.

line 8 col 7: Name types using UpperCamelCase.

line 9 col 29: Name non-constant identifiers using lowerCamelCase.

line 14 col 7: Name types using UpperCamelCase.

Fix additional 32 files with analysis or formatting issues. (-79.75 points)

Additional issues in the following files:

  • lib/API/PIA_API_Gridlist.dart (21 hints)
  • lib/Popup/PIA_Alert.dart (17 hints)
  • lib/API/PIA_API_Icon_Count.dart (13 hints)
  • lib/API/PIA_API_Page.dart (13 hints)
  • lib/Lang/PIA_Lang.dart (11 hints)
  • lib/API/PIA_API_Popup.dart (7 hints)
  • lib/API/PIA_API_Widget.dart (7 hints)
  • lib/API/PIA_CheckVersion.dart (7 hints)
  • lib/Form/PIA_DropDownMenu.dart (7 hints)
  • lib/Image/PIA_ImagePicker.dart (7 hints)
  • lib/PIA_ChatRoom/PIA_ImageFilePicker.dart (6 hints)
  • lib/Func/PIA_Timer.dart (5 hints)
  • lib/Image/PIA_Image.dart (5 hints)
  • lib/API/PIA_API_Background.dart (4 hints)
  • lib/Image/PIA_Icon.dart (4 hints)
  • lib/Image/PIA_ImagePicker_Crop.dart (4 hints)
  • lib/Variable/PIA_Global.dart (4 hints)
  • lib/View/PIA_Page.dart (4 hints)
  • lib/Func/PIA_Func.dart (3 hints)
  • lib/Image/PIA_ImageCrop_Page.dart (2 hints)
  • lib/Image/PIA_ImageSwapView.dart (2 hints)
  • lib/Image/PIA_PhotoView.dart (2 hints)
  • lib/Popup/PIA_Loading.dart (2 hints)
  • lib/Variable/PIA_Temp.dart (2 hints)
  • lib/View/PIA_Icon_Count.dart (2 hints)
  • lib/Form/PIA_RangeSlider.dart (1 hint)
  • lib/Variable/PIA_LocalValue.dart (1 hint)
  • lib/FCM/PIA_Firebase.dart (Run flutter format to format lib/FCM/PIA_Firebase.dart.)
  • lib/FCM/PIA_Jpush.dart (Run flutter format to format lib/FCM/PIA_Jpush.dart.)
  • lib/View/PIA_PDF.dart (Run flutter format to format lib/View/PIA_PDF.dart.)
  • lib/View/PIA_Strip.dart (Run flutter format to format lib/View/PIA_Strip.dart.)
  • lib/View/PIA_WebPage.dart (Run flutter format to format lib/View/PIA_WebPage.dart.)

Maintenance issues and suggestions

Support latest dependencies. (-10 points)

The version constraint in pubspec.yaml does not support the latest published versions for 1 dependency (photo_view).

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.

Maintain an example. (-10 points)

Create a short demo in the example/ directory to show how to use this package.

Common filename patterns include main.dart, example.dart, and pia_framework_base.dart. Packages with multiple examples should provide example/README.md.

For more information see the pub package layout conventions.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.1.0 <3.0.0
carousel_pro ^1.0.0 1.0.0
connectivity ^0.4.8+1 0.4.8+2
cupertino_icons ^0.1.2 0.1.3
dio ^3.0.9 3.0.9
flutter 0.0.0
flutter_document_picker ^4.0.0 4.0.0
flutter_html ^0.11.1 0.11.1 1.0.0-pre.1
http ^0.12.0+4 0.12.0+4
image_crop ^0.3.0 0.3.2
image_cropper ^1.2.1 1.2.1
image_picker ^0.6.3+4 0.6.4
overlay_support ^1.0.2 1.0.3
photo_view ^0.4.0 0.4.2 0.9.2
share ^0.6.3+6 0.6.3+6
shared_preferences ^0.5.6 0.5.6+3
url_launcher ^5.4.2 5.4.2
Transitive dependencies
after_layout 1.0.7+2
async 2.4.1
charcode 1.1.3
collection 1.14.11 1.14.12
connectivity_macos 0.1.0+2
connectivity_platform_interface 1.0.3
csslib 0.16.1
flutter_plugin_android_lifecycle 1.0.6
flutter_web_plugins 0.0.0
html 0.14.0+3
http_parser 3.1.4
meta 1.1.8
path 1.6.4
pedantic 1.9.0
plugin_platform_interface 1.0.2
shared_preferences_macos 0.0.1+6
shared_preferences_platform_interface 1.0.3
shared_preferences_web 0.1.2+4
sky_engine 0.0.99
source_span 1.7.0
string_scanner 1.0.5
term_glyph 1.1.0
typed_data 1.1.6
url_launcher_macos 0.0.1+4
url_launcher_platform_interface 1.0.6
url_launcher_web 0.1.1+1
vector_math 2.0.8
Dev dependencies
flutter_test