mahdaad_core 0.0.11
mahdaad_core: ^0.0.11 copied to clipboard
mahdaad core Package is for flutter application projects.This package is used for the size of texts, colors, distances, sizes and borderradius in tokenized form.
We analyzed this package 11 hours ago, and awarded it 80 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
Repository URL doesn't exist.
At the time of the analysis https://github.com/habibfakari/mahdaad_core
was unreachable. Make sure that the website is reachable via HEAD
requests.
Issue tracker URL doesn't exist.
At the time of the analysis https://github.com/habibfakari/mahdaad_core/issues
was unreachable. Make sure that the website is reachable via HEAD
requests.
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
10/10 points: Use an OSI-approved license
Detected license: BSL-1.0
.
10/10 points: 20% or more of the public API has dartdoc comments
530 out of 785 API elements (67.5 %) have documentation comments.
Some symbols that are missing documentation: api
, border
, border.BorderToken.BorderToken.new
, class_colors
, class_colors.ClassColors.ClassColors.new
.
10/10 points: Package has an example
20/20 points: Supports 4 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Linux
-
✓ macOS
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:mahdaad_core/mahdaad_core.dart
that imports:package:mahdaad_core/core/utility/htify.dart
that imports:package:connectivity_plus/connectivity_plus.dart
that imports:package:connectivity_plus/src/connectivity_plus_linux.dart
that imports:package:nm/nm.dart
that declares support for platforms:Linux
.
Package does not support platform `Web`.
Because:
package:mahdaad_core/mahdaad_core.dart
that imports:package:mahdaad_core/core/services/api.dart
that imports:package:mahdaad_core/core/utility/htify_without_context.dart
that imports:package:flutter_local_notifications/flutter_local_notifications.dart
that declares support for platforms:Android
,iOS
,Linux
,macOS
.
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:mahdaad_core/mahdaad_core.dart
that imports:package:mahdaad_core/core/utility/htify.dart
that imports:package:connectivity_plus/connectivity_plus.dart
that imports:package:connectivity_plus/src/connectivity_plus_linux.dart
that imports:package:nm/nm.dart
that declares support for platforms:Linux
.
Package does not support platform `iOS`.
Because:
package:mahdaad_core/mahdaad_core.dart
that imports:package:mahdaad_core/core/utility/htify.dart
that imports:package:connectivity_plus/connectivity_plus.dart
that imports:package:connectivity_plus/src/connectivity_plus_linux.dart
that imports:package:nm/nm.dart
that declares support for platforms:Linux
.
Package does not support platform `Linux`.
Because:
package:mahdaad_core/mahdaad_core.dart
that imports:package:mahdaad_core/core/utility/htify.dart
that imports:package:sentry_flutter/sentry_flutter.dart
that imports:package:sentry_flutter/src/integrations/on_error_integration.dart
that imports:package:sentry_flutter/src/sentry_flutter_options.dart
that imports:package:sentry_flutter/src/sentry_flutter.dart
that imports:package:sentry_flutter/src/event_processor/flutter_enricher_event_processor.dart
that imports:package:sentry_flutter/src/navigation/sentry_navigator_observer.dart
that imports:package:sentry_flutter/src/integrations/integrations.dart
that imports:package:sentry_flutter/src/integrations/load_release_integration.dart
that imports:package:package_info_plus/package_info_plus.dart
that imports:package:package_info_plus/src/package_info_plus_windows.dart
that imports:package:package_info_plus/src/file_version_info.dart
that imports:package:win32/win32.dart
that declares support for platforms:Windows
.
Package does not support platform `macOS`.
Because:
package:mahdaad_core/mahdaad_core.dart
that imports:package:mahdaad_core/core/utility/htify.dart
that imports:package:connectivity_plus/connectivity_plus.dart
that imports:package:connectivity_plus/src/connectivity_plus_linux.dart
that imports:package:nm/nm.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.cn/web/wasm for details.
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 88 issues. Showing the first 2:
ERROR: The argument type 'CardTheme' can't be assigned to the parameter type 'CardThemeData?'.
lib/core/dark_theme/styles.dart:46:18
╷
46 │ cardTheme: CardTheme(
│ ┌──────────────────^
47 │ │ color: isDarkTheme ? const Color(0xFF151515) : Colors.white,
48 │ │ elevation: 0.2,
49 │ │ shape:
50 │ │ RoundedRectangleBorder(borderRadius: BorderRadius.circular(5))),
│ └─────────────────────────────────────────────────────────────────────────────^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/core/dark_theme/styles.dart
ERROR: The argument type 'CardTheme' can't be assigned to the parameter type 'CardThemeData?'.
lib/core/dark_theme/styles.dart:89:18
╷
89 │ cardTheme: CardTheme(
│ ┌──────────────────^
90 │ │ color: const Color(0xFF151515),
91 │ │ elevation: 0.2,
92 │ │ shape:
93 │ │ RoundedRectangleBorder(borderRadius: BorderRadius.circular(5))),
│ └─────────────────────────────────────────────────────────────────────────────^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/core/dark_theme/styles.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
bloc |
^8.1.1 |
8.1.4 | 9.0.1 | |
connectivity_plus |
^5.0.2 |
5.0.2 | 7.0.0 | |
dio |
^5.2.1+1 |
5.9.0 | 5.9.0 | |
flash |
^3.0.5+1 |
3.1.1 | 3.1.1 | |
flutter_bloc |
^8.1.2 |
8.1.6 | 9.1.1 | |
flutter_feather_icons |
^2.0.0+1 |
2.0.0+1 | 2.0.0+1 | |
flutter_local_notifications |
^16.1.0 |
16.3.3 | 19.4.2 | |
flutter_next |
^0.1.1 |
0.1.1 | 0.1.1 | |
get |
^4.6.6 |
4.7.2 | 4.7.2 | |
hexcolor |
^3.0.1 |
3.0.1 | 3.0.1 | |
iconify_flutter |
^0.0.5 |
0.0.7 | 0.0.7 | |
intl |
^0.18.0 |
0.18.1 | 0.20.2 | |
page_transition |
^2.0.9 |
2.2.1 | 2.2.1 | |
provider |
^6.0.5 |
6.1.5+1 | 6.1.5+1 | |
resize |
^1.0.0 |
1.0.0 | 1.0.0 | |
sentry_flutter |
^7.8.0 |
7.20.2 | 9.6.0 | |
shamsi_date |
^1.0.1 |
1.1.1 | 1.1.1 | |
shared_preferences |
^2.1.0 |
2.5.3 | 2.5.3 | |
sizer |
^2.0.15 |
2.0.15 | 3.1.3 | |
tinycolor2 |
^3.0.1 |
3.0.1 | 3.0.1 | |
universal_html |
^2.2.4 |
2.2.4 | 2.2.4 | |
web_socket_channel |
^2.4.0 |
2.4.5 | 3.0.3 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
args |
- | 2.7.0 | 2.7.0 | |
async |
- | 2.13.0 | 2.13.0 | |
characters |
- | 1.4.0 | 1.4.1 | |
charcode |
- | 1.4.0 | 1.4.0 | |
clock |
- | 1.1.2 | 1.1.2 | |
collection |
- | 1.19.1 | 1.19.1 | |
colorful_iconify_flutter |
- | 0.0.5 | 0.0.5 | |
connectivity_plus_platform_interface |
- | 1.2.4 | 2.0.1 | |
crypto |
- | 3.0.6 | 3.0.6 | |
csslib |
- | 1.0.2 | 1.0.2 | |
dbus |
- | 0.7.11 | 0.7.11 | |
dio_web_adapter |
- | 2.1.1 | 2.1.1 | |
ffi |
- | 2.1.4 | 2.1.4 | |
file |
- | 7.0.1 | 7.0.1 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
flutter_local_notifications_linux |
- | 4.0.1 | 6.0.0 | |
flutter_local_notifications_platform_interface |
- | 7.2.0 | 9.1.0 | |
flutter_svg |
- | 2.2.1 | 2.2.1 | |
html |
- | 0.15.6 | 0.15.6 | |
http |
- | 1.5.0 | 1.5.0 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
js |
- | 0.6.7 | 0.7.2 | Discontinued |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.16.0 | 1.17.0 | |
mime |
- | 2.0.0 | 2.0.0 | |
nested |
- | 1.0.0 | 1.0.0 | |
nm |
- | 0.5.0 | 0.5.0 | |
package_info_plus |
- | 9.0.0 | 9.0.0 | |
package_info_plus_platform_interface |
- | 3.2.1 | 3.2.1 | |
path |
- | 1.9.1 | 1.9.1 | |
path_parsing |
- | 1.1.0 | 1.1.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 |
- | 7.0.1 | 7.0.1 | |
pigment |
- | 1.0.4 | 1.0.4 | |
platform |
- | 3.1.6 | 3.1.6 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
sentry |
- | 7.20.2 | 9.6.0 | |
shared_preferences_android |
- | 2.4.14 | 2.4.14 | |
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.3 | 2.4.3 | |
shared_preferences_windows |
- | 2.4.1 | 2.4.1 | |
source_span |
- | 1.10.1 | 1.10.1 | |
sprintf |
- | 7.0.0 | 7.0.0 | |
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 | |
timezone |
- | 0.9.4 | 0.10.1 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
universal_io |
- | 2.2.2 | 2.2.2 | |
uuid |
- | 4.5.1 | 4.5.1 | |
vector_graphics |
- | 1.1.19 | 1.1.19 | |
vector_graphics_codec |
- | 1.1.13 | 1.1.13 | |
vector_graphics_compiler |
- | 1.1.19 | 1.1.19 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
visibility_detector |
- | 0.3.3 | 0.4.0+2 | |
web |
- | 0.5.1 | 1.1.1 | |
win32 |
- | 5.14.0 | 5.14.0 | |
xdg_directories |
- | 1.1.0 | 1.1.0 | |
xml |
- | 6.6.1 | 6.6.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
Found 8 issues. Showing the first 2:
The constraint `^8.1.1` on bloc does not support the stable version `9.0.0`.
Try running dart pub upgrade --major-versions bloc
to update the constraint.
The constraint `^5.0.2` on connectivity_plus does not support the stable version `6.0.0`.
Try running dart pub upgrade --major-versions connectivity_plus
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 2 errors:
ARGUMENT_TYPE_NOT_ASSIGNABLE
-lib/core/dark_theme/styles.dart:46:18
- The argument type 'CardTheme' can't be assigned to the parameter type 'CardThemeData?'.ARGUMENT_TYPE_NOT_ASSIGNABLE
-lib/core/dark_theme/styles.dart:89:18
- The argument type 'CardTheme' can't be assigned to the parameter type 'CardThemeData?'.
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.23
, Flutter 3.35.5
, Dart 3.9.2
.
Check the analysis log for details.