bmi_b2b_package 0.0.2 copy "bmi_b2b_package: ^0.0.2" to clipboard
bmi_b2b_package: ^0.0.2 copied to clipboard

PlatformAndroidiOS
unlisted

A common code package for b2b-main && b2b-client in bmi

115/ 160
pub points
32
downloads

We analyzed this package 32 hours ago, and awarded it 115 pub points (of a possible 160):

Failed report section
Follow Dart file conventions
25 / 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://bmi.panth.xyz/b2b-main was unreachable. Make sure that the website is reachable via HEAD requests.

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

Failed check 0/5 points: Provide a valid CHANGELOG.md

`CHANGELOG.md` does not contain reference to the current version ("0.0.2").

Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Failed report section
Provide documentation
0 / 20trigger folding of the section

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

4 out of 270 API elements (1.5 %) 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: bmi_b2b_package, bought_entry, bought_entry.buildBoughtEntry, buyin_payment, buyin_payment.buildBuyInPaymentEntry.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Passed report section
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android

  • ✓ iOS

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:bmi_b2b_package/bmi_b2b_package.dart that imports:
  • package:bmi_b2b_package/page/entry.dart that imports:
  • package:bmi_global/bmi_global.dart that imports:
  • package:bmi_global/layout/settings.dart that imports:
  • package:bmi_global/provider/auth.dart that imports:
  • package:bmi_global/utils/user.dart that imports:
  • package:firebase_auth/firebase_auth.dart that declares support for platforms: Android, iOS, macOS, Web.
Package does not support platform `Linux`.

Because:

  • package:bmi_b2b_package/bmi_b2b_package.dart that imports:
  • package:bmi_b2b_package/page/entry.dart that imports:
  • package:bmi_global/bmi_global.dart that imports:
  • package:bmi_global/layout/settings.dart that imports:
  • package:bmi_global/provider/auth.dart that imports:
  • package:bmi_global/utils/user.dart that imports:
  • package:firebase_auth/firebase_auth.dart that declares support for platforms: Android, iOS, macOS, Web.
Package does not support platform `macOS`.

Because:

  • package:bmi_b2b_package/bmi_b2b_package.dart that imports:
  • package:bmi_b2b_package/page/entry.dart that imports:
  • package:bmi_global/bmi_global.dart that imports:
  • package:bmi_global/layout/settings.dart that imports:
  • package:bmi_global/provider/auth.dart that imports:
  • package:flutter_auth_ui/flutter_auth_ui.dart that declares support for platforms: Android, iOS, Web.
Package does not support platform `Web`.

Because:

  • package:bmi_b2b_package/bmi_b2b_package.dart that imports:
  • package:bmi_b2b_package/page/entry.dart that imports:
  • package:bmi_global/bmi_global.dart that imports:
  • package:bmi_global/layout/settings.dart that imports:
  • package:bmi_global/provider/app_info.dart that imports:
  • package:open_file/open_file.dart that declares support for platforms: Android, iOS.
Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 40/50 points: code has no errors, warnings, lints, or formatting issues

INFO: Statements in an if should be enclosed in a block.

lib/page/entry.dart:82:26

   ╷
82 │                       )) return;
   │                          ^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/page/entry.dart

INFO: Don't use 'BuildContext's across async gaps, guarded by an unrelated 'mounted' check.

lib/page/entry.dart:94:56

   ╷
94 │                           res.showAlertDialog(context: context);
   │                                                        ^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/page/entry.dart

Failed report section
Support up-to-date dependencies
30 / 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
bmi_global ^0.0.24 0.0.26 0.0.26
cloud_firestore ^3.1.15 3.5.1 6.10.0
firebase_auth ^3.3.18 3.11.2 6.7.0
Transitive dependencies
Package Constraint Compatible Latest Notes
_flutterfire_internals - 1.0.2 1.3.77
async - 2.13.1 2.13.1
boolean_selector - 2.1.2 2.1.2
characters - 1.4.1 1.4.1
clock - 1.1.3 1.1.3
cloud_firestore_platform_interface - 5.7.7 8.0.7
cloud_firestore_web - 2.8.10 5.7.3
collection - 1.19.1 1.19.1
contacts_service - 0.6.3 0.6.3
dio - 4.0.6 5.11.1
fake_async - 1.3.3 1.3.3
ffi - 1.2.1 2.2.0
firebase - 9.0.3 9.0.3 Discontinued
firebase_auth_platform_interface - 6.10.1 9.1.0
firebase_auth_web - 4.6.1 6.3.0
firebase_core - 1.24.0 4.15.0
firebase_core_platform_interface - 4.8.0 8.1.1
firebase_core_web - 1.7.3 3.12.0
firebase_storage - 10.3.11 13.6.0
firebase_storage_platform_interface - 4.1.19 6.0.7
firebase_storage_web - 3.3.9 3.11.13
flutter_auth_ui - 3.0.0 4.0.1
flutter_auth_ui_web - 2.0.0 2.0.0
flutter_plugin_android_lifecycle - 2.0.35 2.0.35
http - 0.13.6 1.6.0
http_parser - 4.1.2 4.1.2
intl - 0.17.0 0.20.3
js - 0.6.7 0.7.2 Discontinued
leak_tracker - 11.0.2 11.0.2
leak_tracker_flutter_testing - 3.0.10 3.0.10
leak_tracker_testing - 3.0.2 3.0.2
matcher - 0.12.20 0.12.20
material_color_utilities - 0.13.0 0.13.1
meta - 1.19.0 1.19.0
nested - 1.0.0 1.0.0
open_file - 3.2.1 4.0.0
path - 1.9.1 1.9.1
permission_handler - 9.2.0 13.0.2
permission_handler_android - 9.0.2+1 14.1.0
permission_handler_apple - 9.1.4 9.6.1
permission_handler_platform_interface - 3.12.0 4.4.1
permission_handler_windows - 0.1.3 0.2.2
plugin_platform_interface - 2.1.8 2.1.8
provider - 6.1.5+1 6.1.5+1
quiver - 3.2.2 3.2.2
source_span - 1.10.2 1.10.2
stack_trace - 1.12.2 1.12.2
stream_channel - 2.1.4 2.1.4
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
test_api - 0.7.12 0.7.14
typed_data - 1.4.0 1.4.0
url_launcher - 6.3.2 6.3.2
url_launcher_android - 6.3.33 6.3.33
url_launcher_ios - 6.4.2 6.4.2
url_launcher_linux - 3.2.3 3.2.3
url_launcher_macos - 3.2.6 3.2.6
url_launcher_platform_interface - 2.3.2 2.3.2
url_launcher_web - 2.4.3 2.4.3
url_launcher_windows - 3.1.6 3.1.6
vector_math - 2.4.2 2.4.2
vm_service - 15.3.0 15.3.0
web - 1.1.1 1.1.1

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

The constraint `^3.1.15` on cloud_firestore does not support the stable version `4.0.0`.

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

The constraint `^3.3.18` on firebase_auth does not support the stable version `4.0.0`.

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

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

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.23.19, Flutter 3.47.0, Dart 3.13.0.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
115
points
32
downloads

Documentation

API reference

Publisher

verified publisherbmi.panth.xyz

Weekly Downloads

A common code package for b2b-main && b2b-client in bmi

Homepage

License

MIT (license)

Dependencies

bmi_global, cloud_firestore, firebase_auth, flutter

More

Packages that depend on bmi_b2b_package