tplib 0.0.3 copy "tplib: ^0.0.3" to clipboard
tplib: ^0.0.3 copied to clipboard

A baselib Flutter plugin.

0
likes
50/ 160
pub points
0%
popularity

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

failed
Follow Dart file conventions
10 / 30trigger folding of the section

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 60 to 180 characters to describe the package, what it does, and its target use case.

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

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.

partial
Provide documentation
10 / 20trigger folding of the section

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

70 out of 376 API elements (18.6 %) 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: app_info_utils, app_info_utils.AppInfoUtils, app_info_utils.AppInfoUtils.AppInfoUtils, app_info_utils.AppInfoUtils.getAppInfo, base64_util.

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

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:tplib/tplib.dart that declares support for platforms: Android, iOS.
Package does not support platform `Linux`.

Because:

  • package:tplib/tplib.dart that declares support for platforms: Android, iOS.
Package does not support platform `macOS`.

Because:

  • package:tplib/tplib.dart that declares support for platforms: Android, iOS.
Package does not support platform `Web`.

Because:

  • package:tplib/tplib.dart that declares support for platforms: Android, iOS.

0/0 points: WASM compatibility

Unable to detect compatibility with runtime wasm, and this package will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

failed
Pass static analysis
0 / 50trigger folding of the section

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

Found 117 issues. Showing the first 2:

ERROR: The method 'RaisedButton' isn't defined for the type 'CommStatusButton'.

lib/widgets/comm_status_button.dart:41:14

   ╷
41 │       child: RaisedButton(
   │              ^^^^^^^^^^^^
   ╵

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

WARNING: This class (or a class that this class inherits from) is marked as '@immutable', but one or more of its instance fields aren't final: BaseView.model, BaseView.builder

lib/base/base_view.dart:8:7

  ╷
8 │ class BaseView<T extends BaseViewModel> extends StatelessWidget {
  │       ^^^^^^^^
  ╵

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

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

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

Package Constraint Compatible Latest
cached_network_image ^3.1.0+1 3.3.1 3.4.1
dio ^4.0.1 4.0.6 5.7.0
flustars ^2.0.1 2.0.1 2.0.1
flutter flutter 0.0.0 0.0.0
fluttertoast ^8.0.8 8.2.8 8.2.8
get ^4.3.8 4.6.6 4.6.6
package_info 2.0.2 2.0.2 2.0.2
permission_handler ^8.2.6 8.3.0 11.3.1
pull_to_refresh ^2.0.0 2.0.0 2.0.0
shared_preferences ^2.0.8 2.3.3 2.3.3
sprintf ^6.0.0 6.0.2 7.0.0
synchronized ^3.0.0 3.3.0+3 3.3.0+3
url_launcher ^6.0.12 6.3.1 6.3.1
Transitive dependencies
Package Constraint Compatible Latest
async - 2.12.0 2.12.0
cached_network_image_platform_interface - 4.0.0 4.1.1
cached_network_image_web - 1.2.0 1.3.1
characters - 1.3.0 1.3.1
clock - 1.1.2 1.1.2
collection - 1.18.0 1.19.1
common_utils - 2.1.0 2.1.0
convert - 3.1.2 3.1.2
crypto - 3.0.6 3.0.6
decimal - 3.0.2 3.0.2
ffi - 2.1.3 2.1.3
file - 7.0.1 7.0.1
flutter_cache_manager - 3.3.1 3.4.1
flutter_web_plugins - 0.0.0 0.0.0
http - 1.2.2 1.2.2
http_parser - 4.0.2 4.1.1
intl - 0.19.0 0.20.0
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
octo_image - 2.1.0 2.1.0
path - 1.9.1 1.9.1
path_provider - 2.1.5 2.1.5
path_provider_android - 2.2.12 2.2.12
path_provider_foundation - 2.4.0 2.4.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
permission_handler_platform_interface - 3.12.0 4.2.3
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
rational - 2.2.3 2.2.3
rxdart - 0.27.7 0.28.0
shared_preferences_android - 2.3.3 2.3.3
shared_preferences_foundation - 2.5.3 2.5.3
shared_preferences_linux - 2.4.1 2.4.1
shared_preferences_platform_interface - 2.4.1 2.4.1
shared_preferences_web - 2.4.2 2.4.2
shared_preferences_windows - 2.4.1 2.4.1
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
sp_util - 2.0.3 2.0.3
sqflite - 2.4.1 2.4.1
sqflite_android - 2.4.0 2.4.0
sqflite_common - 2.5.4+5 2.5.4+5
sqflite_darwin - 2.4.1 2.4.1
sqflite_platform_interface - 2.4.0 2.4.0
string_scanner - 1.4.0 1.4.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.4.0 1.4.0
url_launcher_android - 6.3.14 6.3.14
url_launcher_ios - 6.3.1 6.3.1
url_launcher_linux - 3.2.1 3.2.1
url_launcher_macos - 3.2.1 3.2.1
url_launcher_platform_interface - 2.3.2 2.3.2
url_launcher_web - 2.3.3 2.3.3
url_launcher_windows - 3.1.3 3.1.3
uuid - 3.0.7 4.5.1
vector_math - 2.1.4 2.1.4
web - 1.1.0 1.1.0
xdg_directories - 1.1.0 1.1.0

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

Found 3 issues. Showing the first 2:

The constraint `^4.0.1` on dio does not support the stable version `5.0.0`.

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

The constraint `^8.2.6` on permission_handler does not support the stable version `9.0.1`.

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

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

0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 1 error:

  • UNDEFINED_METHOD - lib/widgets/comm_status_button.dart:41:14 - The method 'RaisedButton' isn't defined for the type 'CommStatusButton'.

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.22.15, Flutter 3.24.4, Dart 3.5.4.

Check the analysis log for details.