setup_library 1.0.0+2
setup_library: ^1.0.0+2 copied to clipboard
A Flutter library for managing app themes, custom widgets, and shared utilities.
We analyzed this package 21 hours ago, and awarded it 50 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
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.
0/10 points: 20% or more of the public API has dartdoc comments
14 out of 263 API elements (5.3 %) 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: bloc_observer, bloc_observer.MyBlocObserver, bloc_observer.MyBlocObserver.MyBlocObserver.new, colors-manager, colors-manager.ColorsManager.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Web
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:setup_library/setup_library.dartthat imports:package:setup_library/presentation/resources/constants/custom-staticwidget.dartthat imports:package:fluttertoast/fluttertoast.dartthat declares support for platforms:Android,iOS,Web.
Package does not support platform `Linux`.
Because:
package:setup_library/setup_library.dartthat imports:package:setup_library/presentation/resources/constants/custom-staticwidget.dartthat imports:package:fluttertoast/fluttertoast.dartthat declares support for platforms:Android,iOS,Web.
Package does not support platform `macOS`.
Because:
package:setup_library/setup_library.dartthat imports:package:setup_library/presentation/resources/constants/custom-staticwidget.dartthat imports:package:fluttertoast/fluttertoast.dartthat declares support for platforms:Android,iOS,Web.
These issues are present but do not affect the score, because they may not originate in your package:
Package not compatible with platform Web
Because:
package:setup_library/setup_library.dartthat imports:package:setup_library/presentation/resources/constants/custom-staticwidget.dartthat imports:package:fluttertoast/fluttertoast.dartthat imports:dart:io
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 37 issues. Showing the first 2:
ERROR: The argument type 'CardTheme' can't be assigned to the parameter type 'CardThemeData?'.
lib/presentation/resources/theme-manager.dart:20:16
╷
20 │ cardTheme: const CardTheme(
│ ┌────────────────^
21 │ │ color: ColorsManager.backGroundPhotoColor,
22 │ │ shadowColor: ColorsManager.greyColor,
23 │ │ elevation: AppSize.s10,
24 │ │ margin: EdgeInsetsDirectional.symmetric(
25 │ │ horizontal: AppMargin.m10,
26 │ │ vertical: AppMargin.m15,
27 │ │ ),
28 │ │ ),
│ └─────^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/presentation/resources/theme-manager.dart
WARNING: Unnecessary cast.
lib/presentation/resources/theme-manager.dart:35:23
╷
35 │ titleTextStyle: getLightTextStyle(color: ColorsManager.blackColor) as TextStyle,
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/presentation/resources/theme-manager.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
bloc |
^8.1.2 |
8.1.4 | 9.2.0 | |
conditional_builder_null_safety |
^0.0.6 |
0.0.6 | 0.0.6 | |
cupertino_icons |
^1.0.6 |
1.0.8 | 1.0.8 | |
device_preview |
^1.1.0 |
1.3.1 | 1.3.1 | |
dio |
^4.0.6 |
4.0.6 | 5.9.0 | |
flutter_bloc |
^8.1.3 |
8.1.6 | 9.1.1 | |
flutter_screenutil |
^5.9.0 |
5.9.3 | 5.9.3 | |
fluttertoast |
^8.2.4 |
8.2.14 | 9.0.0 | |
hexcolor |
^3.0.1 |
3.0.2 | 3.0.2 | |
loader_overlay |
^4.0.1 |
4.0.4+1 | 5.0.0 | |
loading_animation_widget |
^1.2.0+4 |
1.3.0 | 1.3.0 | |
shared_preferences |
^2.0.15 |
2.5.4 | 2.5.4 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
back_button_interceptor |
- | 8.0.4 | 8.0.4 | |
characters |
- | 1.4.0 | 1.4.1 | |
clock |
- | 1.1.2 | 1.1.2 | |
collection |
- | 1.19.1 | 1.19.1 | |
device_frame |
- | 1.4.0 | 1.4.0 | |
ffi |
- | 2.1.5 | 2.1.5 | |
file |
- | 7.0.1 | 7.0.1 | |
freezed_annotation |
- | 3.1.0 | 3.1.0 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
intl |
- | 0.20.2 | 0.20.2 | |
json_annotation |
- | 4.9.0 | 4.9.0 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.17.0 | 1.17.0 | |
nested |
- | 1.0.0 | 1.0.0 | |
path |
- | 1.9.1 | 1.9.1 | |
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 | |
platform |
- | 3.1.6 | 3.1.6 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
provider |
- | 6.1.5+1 | 6.1.5+1 | |
shared_preferences_android |
- | 2.4.18 | 2.4.18 | |
shared_preferences_foundation |
- | 2.5.6 | 2.5.6 | |
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 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
web |
- | 1.1.1 | 1.1.1 | |
xdg_directories |
- | 1.1.0 | 1.1.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
Found 5 issues. Showing the first 2:
The constraint `^8.1.2` 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 `^4.0.6` on dio does not support the stable version `5.0.0`.
Try running dart pub upgrade --major-versions dio 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:
ARGUMENT_TYPE_NOT_ASSIGNABLE-lib/presentation/resources/theme-manager.dart:20:16- 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.23.5, Flutter 3.38.5, Dart 3.10.4.
Check the analysis log for details.