materialx_flutter 2.3.0+230 copy "materialx_flutter: ^2.3.0+230" to clipboard
materialx_flutter: ^2.3.0+230 copied to clipboard

Material X Flutter

0
likes
55/ 160
pub points
0
downloads

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

failed
Follow Dart file conventions
15 / 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.

  • pubspec.yaml doesn't have a homepage entry.

  • pubspec.yaml doesn't have a repository entry.

5/5 points: Provide a valid README.md

0/5 points: Provide a valid CHANGELOG.md

No `CHANGELOG.md` found.

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

10/10 points: Use an OSI-approved license

Detected license: MIT.

failed
Provide documentation
10 / 20trigger folding of the section

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

823 out of 3772 API elements (21.8 %) have documentation comments.

Some symbols that are missing documentation: about_app, about_app.AboutAppRoute, about_app.AboutAppRoute.AboutAppRoute, about_app.AboutAppRouteState, about_app.AboutAppRouteState.AboutAppRouteState.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add 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:materialx_flutter/adapter/list_draggable_adapter.dart that imports:
  • package:materialx_flutter/widget/my_toast.dart that imports:
  • package:fluttertoast/fluttertoast.dart that declares support for platforms: Android, iOS, Web.
Package does not support platform `Linux`.

Because:

  • package:materialx_flutter/adapter/list_draggable_adapter.dart that imports:
  • package:materialx_flutter/widget/my_toast.dart that imports:
  • package:fluttertoast/fluttertoast.dart that declares support for platforms: Android, iOS, Web.
Package does not support platform `macOS`.

Because:

  • package:materialx_flutter/adapter/list_draggable_adapter.dart that imports:
  • package:materialx_flutter/widget/my_toast.dart that imports:
  • package:fluttertoast/fluttertoast.dart that declares support for platforms: Android, iOS, Web.
Package not compatible with platform Web

Because:

  • package:materialx_flutter/adapter/list_draggable_adapter.dart that imports:
  • package:materialx_flutter/widget/my_toast.dart that imports:
  • package:fluttertoast/fluttertoast.dart that imports:
  • dart:io

These issues are present but do not affect the score, because they may not originate in your package:

Package does not support platform `Android`.

Because:

  • package:materialx_flutter/main.dart that imports:
  • package:materialx_flutter/utils/fcm.dart that imports:
  • package:materialx_flutter/utils/push_notification.dart that imports:
  • package:flutter_local_notifications/flutter_local_notifications.dart that imports:
  • package:flutter_local_notifications/src/notification_details.dart that imports:
  • package:flutter_local_notifications_linux/flutter_local_notifications_linux.dart that imports:
  • package:flutter_local_notifications_linux/src/flutter_local_notifications.dart that imports:
  • package:flutter_local_notifications_linux/src/notifications_manager.dart that imports:
  • package:flutter_local_notifications_linux/src/storage.dart that imports:
  • package:flutter_local_notifications_linux/src/platform_info.dart that imports:
  • package:xdg_directories/xdg_directories.dart that declares support for platforms: Linux.
Package does not support platform `iOS`.

Because:

  • package:materialx_flutter/main.dart that imports:
  • package:materialx_flutter/utils/fcm.dart that imports:
  • package:materialx_flutter/utils/push_notification.dart that imports:
  • package:flutter_local_notifications/flutter_local_notifications.dart that imports:
  • package:flutter_local_notifications/src/notification_details.dart that imports:
  • package:flutter_local_notifications_linux/flutter_local_notifications_linux.dart that imports:
  • package:flutter_local_notifications_linux/src/flutter_local_notifications.dart that imports:
  • package:flutter_local_notifications_linux/src/notifications_manager.dart that imports:
  • package:flutter_local_notifications_linux/src/storage.dart that imports:
  • package:flutter_local_notifications_linux/src/platform_info.dart that imports:
  • package:xdg_directories/xdg_directories.dart that declares support for platforms: Linux.

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 279 issues. Showing the first 2:

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

lib/adapter/list_category_image_adapter.dart:65:25

   ╷
65 │                         primary: Colors.black.withOpacity(0.1),
   │                         ^^^^^^^
   ╵

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

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

lib/included/include_releases_content.dart:24:52

   ╷
24 │                       style: TextButton.styleFrom( primary: Colors.transparent ),
   │                                                    ^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/included/include_releases_content.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
backdrop ^0.8.0 0.8.1 0.9.1
cupertino_icons ^1.0.5 1.0.8 1.0.8
device_info ^2.0.2 2.0.3 2.0.3
firebase_core ^1.19.1 1.24.0 3.9.0
firebase_messaging ^11.4.3 11.4.4 15.1.6
flutter flutter 0.0.0 0.0.0
flutter_local_notifications ^9.6.1 9.9.1 18.0.1
flutter_speed_dial ^6.0.0 6.2.0 7.0.0
flutter_staggered_grid_view ^0.4.1 0.4.1 0.7.0
fluttertoast ^8.0.9 8.2.10 8.2.10
get ^4.6.5 4.6.6 4.6.6
http ^0.13.4 0.13.6 1.2.2
intl ^0.17.0 0.17.0 0.20.1
package_info ^2.0.2 2.0.2 2.0.2
path any 1.9.0 1.9.1
shared_preferences ^2.0.15 2.3.5 2.3.5
sqflite ^2.0.2+1 2.4.1 2.4.1
url_launcher ^6.0.8 6.3.1 6.3.1
Transitive dependencies
Package Constraint Compatible Latest
args - 2.6.0 2.6.0
async - 2.11.0 2.12.0
boolean_selector - 2.1.1 2.1.2
characters - 1.3.0 1.4.0
clock - 1.1.1 1.1.2
collection - 1.19.0 1.19.1
dbus - 0.7.10 0.7.10
device_info_platform_interface - 2.0.1 2.0.1
fake_async - 1.3.1 1.3.2
ffi - 2.1.3 2.1.3
file - 6.1.4 7.0.1
firebase_core_platform_interface - 4.8.0 5.4.0
firebase_core_web - 1.7.3 2.19.0
firebase_messaging_platform_interface - 3.5.4 4.5.49
firebase_messaging_web - 2.4.4 3.9.5
flutter_local_notifications_linux - 0.5.1 5.0.0
flutter_local_notifications_platform_interface - 5.0.0 8.0.0
flutter_test - 0.0.0 0.0.0
flutter_web_plugins - 0.0.0 0.0.0
http_parser - 4.1.2 4.1.2
js - 0.6.7 0.7.1
leak_tracker - 10.0.7 10.0.8
leak_tracker_flutter_testing - 3.0.8 3.0.9
leak_tracker_testing - 3.0.1 3.0.1
matcher - 0.12.16+1 0.12.17
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.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
petitparser - 6.0.2 6.0.2
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
process - 4.2.4 5.0.3
shared_preferences_android - 2.4.0 2.4.0
shared_preferences_foundation - 2.5.4 2.5.4
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.0 0.0.0
source_span - 1.10.0 1.10.1
sqflite_android - 2.4.0 2.4.0
sqflite_common - 2.5.4+6 2.5.4+6
sqflite_darwin - 2.4.1+1 2.4.1+1
sqflite_platform_interface - 2.4.0 2.4.0
stack_trace - 1.12.0 1.12.1
stream_channel - 2.1.2 2.1.3
string_scanner - 1.3.0 1.4.1
synchronized - 3.3.0+3 3.3.0+3
term_glyph - 1.2.1 1.2.2
test_api - 0.7.3 0.7.4
timezone - 0.8.0 0.10.0
typed_data - 1.4.0 1.4.0
url_launcher_android - 6.3.14 6.3.14
url_launcher_ios - 6.3.2 6.3.2
url_launcher_linux - 3.2.1 3.2.1
url_launcher_macos - 3.2.2 3.2.2
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
vector_math - 2.1.4 2.1.4
vm_service - 14.3.0 15.0.0
web - 1.1.0 1.1.0
xdg_directories - 0.2.0+3 1.1.0
xml - 6.5.0 6.5.0

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

Found 8 issues. Showing the first 2:

The constraint `^0.8.0` on backdrop does not support the stable version `0.9.0`.

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

The constraint `^1.19.1` on firebase_core does not support the stable version `2.0.0`.

Try running dart pub upgrade --major-versions firebase_core 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 147 errors:

  • UNDEFINED_NAMED_PARAMETER - lib/adapter/list_category_image_adapter.dart:65:25 - The named parameter 'primary' isn't defined.
  • UNDEFINED_NAMED_PARAMETER - lib/included/include_releases_content.dart:24:52 - The named parameter 'primary' isn't defined.
  • UNDEFINED_NAMED_PARAMETER - lib/included/include_releases_content.dart:124:52 - The named parameter 'primary' isn't defined.

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.17, Flutter 3.27.0, Dart 3.6.0.

Check the analysis log for details.