sw_loan_connect 0.5.2 copy "sw_loan_connect: ^0.5.2" to clipboard
sw_loan_connect: ^0.5.2 copied to clipboard

Spinwheel Loan Connect Module

55/ 160
pub points
6
downloads

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

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

Failed check 0/10 points: Provide a valid pubspec.yaml

The package description is too short.

Add more detail to the description field of pubspec.yaml. Use 50 to 180 characters to describe the package, what it does, and its target use case.

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.5.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: BSD-3-Clause.

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

19 out of 150 API elements (12.7 %) 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: event_handler_loan_connect, event_handler_loan_connect.EventHandlerLoanConnect, event_handler_loan_connect.EventHandlerLoanConnect.EventHandlerLoanConnect.new, event_handler_loan_connect.EventHandlerLoanConnect.authStep, event_handler_loan_connect.EventHandlerLoanConnect.error.

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:sw_loan_connect/init_loan_connect.dart that imports:
  • package:sw_data/inject_spinwheel_api_wrapper.dart that imports:
  • package:sw_core/sw_init_core.dart that imports:
  • package:sw_core/analytics/analytics.dart that imports:
  • package:mixpanel_flutter/mixpanel_flutter.dart that declares support for platforms: Android, iOS, Web.
Package does not support platform `Linux`.

Because:

  • package:sw_loan_connect/init_loan_connect.dart that imports:
  • package:sw_data/inject_spinwheel_api_wrapper.dart that imports:
  • package:sw_core/sw_init_core.dart that imports:
  • package:sw_core/analytics/analytics.dart that imports:
  • package:mixpanel_flutter/mixpanel_flutter.dart that declares support for platforms: Android, iOS, Web.
Package does not support platform `macOS`.

Because:

  • package:sw_loan_connect/init_loan_connect.dart that imports:
  • package:sw_data/inject_spinwheel_api_wrapper.dart that imports:
  • package:sw_core/sw_init_core.dart that imports:
  • package:sw_core/analytics/analytics.dart that imports:
  • package:mixpanel_flutter/mixpanel_flutter.dart that declares support for platforms: Android, iOS, Web.
Package not compatible with platform Web

Because:

  • package:sw_loan_connect/init_loan_connect.dart that imports:
  • package:sw_data/inject_spinwheel_api_wrapper.dart that imports:
  • package:sw_data/data/endpoint_all_servicers.dart that imports:
  • package:sw_core/environment/sw_env.dart that imports:
  • package:sw_core/tool/log.dart that imports:
  • package:logger/logger.dart that imports:
  • package:logger/src/outputs/file_output_stub.dart that imports:
  • dart:io
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 110 issues. Showing the first 2:

ERROR: The getter 'bodyText2' isn't defined for the type 'TextTheme'.

lib/layouts/layout_landing_page_b.dart:18:56

   ╷
18 │   final TextStyle? privacyPolicyLink = theme.textTheme.bodyText2;
   │                                                        ^^^^^^^^^
   ╵

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

ERROR: The getter 'headline4' isn't defined for the type 'TextTheme'.

lib/layouts/layout_landing_page_b.dart:104:38

    ╷
104 │               style: theme.textTheme.headline4,
    │                                      ^^^^^^^^^
    ╵

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

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

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

Package Constraint Compatible Latest Notes
sw_auth ^0.5.2 0.5.2 0.5.2
sw_component ^0.5.2 0.5.2 0.5.2
sw_core ^0.5.2 0.5.2 0.5.2
sw_data ^0.5.2 0.5.2 0.5.2
Transitive dependencies
Package Constraint Compatible Latest Notes
args - 2.7.0 2.7.0
async - 2.13.0 2.13.0
boolean_selector - 2.1.2 2.1.2
characters - 1.4.0 1.4.1
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
crypto - 3.0.7 3.0.7
cupertino_icons - 1.0.8 1.0.8
dio - 4.0.6 5.9.0
dio_cache_interceptor - 3.4.2 4.0.5
equatable - 2.0.8 2.0.8
fl_chart - 0.36.4 1.1.1
flutter_svg - 0.22.0 2.2.3
get - 4.7.3 4.7.3
http - 0.13.6 1.6.0
http_parser - 4.1.2 4.1.2
injector - 2.0.0 4.0.0
intl - 0.17.0 0.20.2
js - 0.6.7 0.7.2 Discontinued
json_class - 2.1.2+14 3.0.1
json_schema2 - 2.0.2+18 5.1.3 Discontinued
json_theme - 3.2.0 11.0.0
jwt_decode - 0.3.1 0.3.1
logger - 1.4.0 2.6.2
logging - 1.3.0 1.3.0
matcher - 0.12.18 0.12.18
material_color_utilities - 0.11.1 0.13.0
meta - 1.17.0 1.17.0
mixpanel_flutter - 1.6.0 2.4.4
path - 1.9.1 1.9.1
path_drawing - 0.5.1+1 1.0.1
path_parsing - 0.2.1 1.1.0
pedantic - 1.11.1 1.11.1 Discontinued
percent_indicator - 3.4.0 4.2.5
petitparser - 5.4.0 7.0.1
plugin_platform_interface - 2.1.8 2.1.8
quiver - 3.2.2 3.2.2
rest_client - 2.2.0+4 2.4.0 Discontinued
retrofit - 2.2.0 4.9.2
source_span - 1.10.1 1.10.1
stack_trace - 1.12.1 1.12.1
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.9 0.7.9
toggle_switch - 1.4.0 2.3.0
typed_data - 1.4.0 1.4.0
uri - 1.0.0 1.0.0
url_launcher - 6.3.2 6.3.2
url_launcher_android - 6.3.28 6.3.28
url_launcher_ios - 6.3.6 6.3.6
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.1 2.4.1
url_launcher_windows - 3.1.5 3.1.5
uuid - 3.0.7 4.5.2
vector_math - 2.2.0 2.2.0
web - 1.1.1 1.1.1
xml - 5.4.1 6.6.1
yaml - 3.1.3 3.1.3
yaon - 1.1.4+10 1.1.4+10

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

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 39 errors:

  • UNDEFINED_GETTER - lib/layouts/layout_landing_page_b.dart:18:56 - The getter 'bodyText2' isn't defined for the type 'TextTheme'.
  • UNDEFINED_GETTER - lib/layouts/layout_landing_page_b.dart:104:38 - The getter 'headline4' isn't defined for the type 'TextTheme'.
  • UNDEFINED_GETTER - lib/layouts/layout_landing_page_b.dart:132:44 - The getter 'bodyText1' isn't defined for the type 'TextTheme'.

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.5, Flutter 3.38.5, Dart 3.10.4.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
2
likes
55
points
6
downloads

Publisher

verified publisherspinwheel.io

Weekly Downloads

Spinwheel Loan Connect Module

Homepage

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter, sw_auth, sw_component, sw_core, sw_data

More

Packages that depend on sw_loan_connect