pti_insurance_test 0.0.5 copy "pti_insurance_test: ^0.0.5" to clipboard
pti_insurance_test: ^0.0.5 copied to clipboard

Flutter plugin to add PTI Insurance Widget inside your project.

40/ 160
pub points
35
downloads

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

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

Partially passed check 10/10 points: Provide a valid pubspec.yaml

Homepage URL doesn't exist.

At the time of the analysis https://github.com/HuyDuy14/pti_insureance_test was unreachable. Make sure that the website is reachable via HEAD requests.

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Failed check 0/10 points: Use an OSI-approved license

No license was recognized.

Consider using an OSI-approved license in the LICENSE file to make it more accessible to the community.

Partially passed report section
Provide documentation
10 / 20trigger folding of the section

Partially passed check 0/10 points: 20% or more of the public API has dartdoc comments

522 out of 2773 API elements (18.8 %) have documentation comments.

Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.

To highlight public API members missing documentation consider enabling the public_member_api_docs lint.

Some symbols that are missing documentation: ControlObject, ControlObject.Control, ControlObject.Control.Control.fromJson, ControlObject.Control.Control.fromMap, ControlObject.Control.Control.init.

Passed check 10/10 points: Package has an example

Failed report section
Platform support
0 / 20trigger folding of the section

Failed check 0/20 points: Supports 0 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

Failed report section
Pass static analysis
0 / 50trigger folding of the section

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

Found 342 issues. Showing the first 2:

ERROR: The named parameter 'onError' isn't defined.

lib/controllers/base/base_production_controller.dart:328:50

    ╷
328 │                   int.parse(control.value.value, onError: ((data) {
    │                                                  ^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/controllers/base/base_production_controller.dart

ERROR: The name 'DatePickerTheme' is defined in the libraries 'package:flutter/src/material/date_picker_theme.dart (via package:flutter/material.dart)' and 'package:pti_insurance_test/widgets/base/date_picker/src/datetime_picker_theme.dart'.

lib/widgets/base/date_picker/flutter_datetime_picker.dart:32:5

   ╷
32 │     DatePickerTheme? theme,
   │     ^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/widgets/base/date_picker/flutter_datetime_picker.dart

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

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

Package Constraint Compatible Latest Notes
cached_network_image ^3.2.1 3.3.1 3.4.1
crypto ^3.0.2 3.0.7 3.0.7
flutter_svg ^1.1.5 1.1.6 2.2.4
get ^4.6.5 4.7.3 4.7.3
get_storage ^2.0.3 2.1.1 2.1.1
http ^0.13.5 0.13.6 1.6.0
http_parser ^4.0.2 4.1.2 4.1.2
image_picker ^0.8.5+3 0.8.9 1.2.1
intl ^0.17.0 0.17.0 0.20.2
path_provider ^2.0.12 2.1.5 2.1.5
pdf_viewer_plugin ^2.0.1 2.0.1 2.0.1
shared_preferences ^2.0.15 2.5.4 2.5.4
url_launcher ^6.1.5 6.3.2 6.3.2
webview_flutter ^3.0.4 3.0.4 4.13.1
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.0 2.13.0
cached_network_image_platform_interface - 4.0.0 4.1.1
cached_network_image_web - 1.2.0 1.3.1
characters - 1.4.1 1.4.1
clock - 1.1.2 1.1.2
code_assets - 1.0.0 1.0.0
collection - 1.19.1 1.19.1
cross_file - 0.3.5+2 0.3.5+2
ffi - 2.2.0 2.2.0
file - 7.0.1 7.0.1
file_selector_linux - 0.9.4 0.9.4
file_selector_macos - 0.9.5 0.9.5
file_selector_platform_interface - 2.7.0 2.7.0
file_selector_windows - 0.9.3+5 0.9.3+5
fixnum - 1.1.1 1.1.1
flutter_cache_manager - 3.3.1 3.4.1
flutter_plugin_android_lifecycle - 2.0.33 2.0.33
glob - 2.1.3 2.1.3
hooks - 1.0.2 1.0.2
image_picker_android - 0.8.13+14 0.8.13+14
image_picker_for_web - 2.2.0 3.1.1
image_picker_ios - 0.8.13+6 0.8.13+6
image_picker_linux - 0.2.2 0.2.2
image_picker_macos - 0.2.2+1 0.2.2+1
image_picker_platform_interface - 2.11.1 2.11.1
image_picker_windows - 0.2.2 0.2.2
logging - 1.3.0 1.3.0
material_color_utilities - 0.13.0 0.13.0
meta - 1.17.0 1.18.1
mime - 1.0.6 2.0.0
native_toolchain_c - 0.17.5 0.17.5
objective_c - 9.3.0 9.3.0
octo_image - 2.1.0 2.1.0
path - 1.9.1 1.9.1
path_drawing - 1.0.1 1.0.1
path_parsing - 1.1.0 1.1.0
path_provider_android - 2.2.22 2.2.22
path_provider_foundation - 2.6.0 2.6.0
path_provider_linux - 2.2.1 2.2.1
path_provider_platform_interface - 2.1.2 2.1.2
path_provider_windows - 2.3.0 2.3.0
pedantic - 1.11.1 1.11.1 Discontinued
petitparser - 7.0.2 7.0.2
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
pub_semver - 2.2.0 2.2.0
rxdart - 0.27.7 0.28.0
shared_preferences_android - 2.4.21 2.4.21
shared_preferences_foundation - 2.5.6 2.5.6
shared_preferences_linux - 2.4.1 2.4.1
shared_preferences_platform_interface - 2.4.1 2.4.1
shared_preferences_web - 2.4.3 2.4.3
shared_preferences_windows - 2.4.1 2.4.1
source_span - 1.10.2 1.10.2
sqflite - 2.4.2 2.4.2
sqflite_android - 2.4.2+3 2.4.2+3
sqflite_common - 2.5.6 2.5.6
sqflite_darwin - 2.4.2 2.4.2
sqflite_platform_interface - 2.4.0 2.4.0
string_scanner - 1.4.1 1.4.1
synchronized - 3.4.0 3.4.0
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
url_launcher_android - 6.3.28 6.3.28
url_launcher_ios - 6.4.1 6.4.1
url_launcher_linux - 3.2.2 3.2.2
url_launcher_macos - 3.2.5 3.2.5
url_launcher_platform_interface - 2.3.2 2.3.2
url_launcher_web - 2.4.2 2.4.2
url_launcher_windows - 3.1.5 3.1.5
uuid - 4.5.3 4.5.3
vector_math - 2.2.0 2.2.0
web - 1.1.1 1.1.1
webview_flutter_android - 2.10.4 4.10.13
webview_flutter_platform_interface - 1.9.5 2.14.0
webview_flutter_wkwebview - 2.9.5 3.24.0
xdg_directories - 1.1.0 1.1.0
xml - 6.6.1 6.6.1
yaml - 3.1.3 3.1.3

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

Found 5 issues. Showing the first 2:

The constraint `^1.1.5` on flutter_svg does not support the stable version `2.0.0`.

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

The constraint `^0.13.5` on http does not support the stable version `1.0.0`.

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

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 16 errors:

  • UNDEFINED_NAMED_PARAMETER - lib/controllers/base/base_production_controller.dart:328:50 - The named parameter 'onError' isn't defined.
  • AMBIGUOUS_IMPORT - lib/widgets/base/date_picker/flutter_datetime_picker.dart:32:5 - The name 'DatePickerTheme' is defined in the libraries 'package:flutter/src/material/date_picker_theme.dart (via package:flutter/material.dart)' and 'package:pti_insurance_test/widgets/base/date_picker/src/datetime_picker_theme.dart'.
  • AMBIGUOUS_IMPORT - lib/widgets/base/date_picker/flutter_datetime_picker.dart:68:5 - The name 'DatePickerTheme' is defined in the libraries 'package:flutter/src/material/date_picker_theme.dart (via package:flutter/material.dart)' and 'package:pti_insurance_test/widgets/base/date_picker/src/datetime_picker_theme.dart'.

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.23.10, Flutter 3.41.4, Dart 3.11.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
40
points
35
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Flutter plugin to add PTI Insurance Widget inside your project.

Homepage

License

unknown (license)

Dependencies

cached_network_image, crypto, flutter, flutter_svg, get, get_storage, http, http_parser, image_picker, intl, path_provider, pdf_viewer_plugin, shared_preferences, url_launcher, webview_flutter

More

Packages that depend on pti_insurance_test