tata_rewards 0.0.56
tata_rewards: ^0.0.56 copied to clipboard
A Flutter package that provides a seamless integration with the Tata Rewards system. It includes features like Scratch Cards, Spin-the-Wheel games, and AI-powered trivia to enhance user engagement. Id [...]
We analyzed this package 2 days ago, and awarded it 120 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
The package description is too long.
Search engines display only the first part of the description. Try to keep the value of the description
field in your package's pubspec.yaml
file between 60 and 180 characters.
Homepage URL doesn't exist.
At the time of the analysis https://github.com/Es-Magico-Tech-Studio/gratify-flutter-sdk
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: BSD-3-Clause
.
10/10 points: 20% or more of the public API has dartdoc comments
1116 out of 1117 API elements (99.9 %) have documentation comments.
Some symbols that are missing documentation: tata_rewards
.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 4 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ macOS
These platforms are not supported:
Package does not support platform `Linux`.
Because:
package:tata_rewards/tata_rewards.dart
that imports:package:tata_rewards/src/view/voucher_award_history_view.dart
that imports:package:tata_rewards/src/utils/utils.dart
that imports:package:flutter_cache_manager/flutter_cache_manager.dart
that imports:package:flutter_cache_manager/src/storage/cache_info_repositories/cache_info_repositories.dart
that imports:package:flutter_cache_manager/src/storage/cache_info_repositories/cache_object_provider.dart
that imports:package:sqflite/sqflite.dart
that declares support for platforms:Android
,iOS
,macOS
.
Package does not support platform `Web`.
Because:
package:tata_rewards/tata_rewards.dart
that imports:package:tata_rewards/src/view/voucher_award_history_view.dart
that imports:package:tata_rewards/src/utils/utils.dart
that imports:package:flutter_cache_manager/flutter_cache_manager.dart
that imports:package:flutter_cache_manager/src/storage/file_system/file_system.dart
that imports:package:flutter_cache_manager/src/storage/file_system/file_system_io.dart
that imports:package:path_provider/path_provider.dart
that declares support for platforms:Android
,iOS
,Windows
,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 `Windows`.
Because:
package:tata_rewards/tata_rewards.dart
that imports:package:tata_rewards/src/view/voucher_award_history_view.dart
that imports:package:tata_rewards/src/utils/utils.dart
that imports:package:flutter_cache_manager/flutter_cache_manager.dart
that imports:package:flutter_cache_manager/src/storage/cache_info_repositories/cache_info_repositories.dart
that imports:package:flutter_cache_manager/src/storage/cache_info_repositories/cache_object_provider.dart
that imports:package:sqflite/sqflite.dart
that declares support for platforms:Android
,iOS
,macOS
.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:tata_rewards/tata_rewards.dart
that imports:package:tata_rewards/src/view/voucher_award_history_view.dart
that imports:package:tata_rewards/src/utils/utils.dart
that imports:package:flutter_cache_manager/flutter_cache_manager.dart
that imports:package:flutter_cache_manager/src/web/web_helper.dart
that imports:package:flutter_cache_manager/src/cache_store.dart
that imports:dart:io
This package is not compatible with runtime wasm
, and will not be rewarded full points in a future version of the scoring model.
See https://dart.dev/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 40 issues. Showing the first 2:
INFO: The import of '../data/model/customer_response_model.dart' is unnecessary because all of the used elements are also provided by the import of '../../tata_rewards.dart'.
lib/src/data_source/sdk_data_source.dart:9:8
╷
9 │ import '../data/model/customer_response_model.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/data_source/sdk_data_source.dart
INFO: The import of 'package:tata_rewards/src/data/model/customer_response_model.dart' is unnecessary because all of the used elements are also provided by the import of '../../tata_rewards.dart'.
lib/src/repo/fortune_wheel_repo.dart:3:8
╷
3 │ import 'package:tata_rewards/src/data/model/customer_response_model.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/repo/fortune_wheel_repo.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
cached_network_image |
3.4.1 |
3.4.1 | 3.4.1 | |
cloud_firestore |
any |
5.6.2 | 5.6.11 | |
confetti |
0.8.0 |
0.8.0 | 0.8.0 | |
dotted_dashed_line |
0.0.3 |
0.0.3 | 0.0.3 | |
firebase_core |
3.10.1 |
3.10.1 | 3.15.1 | |
flutter_cache_manager |
3.4.1 |
3.4.1 | 3.4.1 | |
flutter_fortune_wheel |
1.3.2 |
1.3.2 | 1.3.2 | |
flutter_html |
3.0.0-beta.2 |
3.0.0-beta.2 | 3.0.0 | |
flutter_svg |
2.0.17 |
2.0.17 | 2.2.0 | |
http |
any |
1.4.0 | 1.4.0 | |
image_fade |
0.6.2 |
0.6.2 | 0.6.2 | |
intl |
0.19.0 |
0.19.0 | 0.20.2 | |
lottie |
3.3.0 |
3.3.0 | 3.3.1 | |
responsive_sizer |
3.3.1 |
3.3.1 | 3.3.1 | |
rive |
0.13.20 |
0.13.20 | 0.13.20 | |
scratcher |
2.5.0 |
2.5.0 | 2.5.0 | |
shimmer |
3.0.0 |
3.0.0 | 3.0.0 | |
simple_gradient_text |
1.3.0 |
1.3.0 | 1.3.0 | |
url_launcher |
6.3.1 |
6.3.1 | 6.3.1 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
_flutterfire_internals |
- | 1.3.50 | 1.3.58 | |
archive |
- | 3.6.1 | 4.0.7 | |
args |
- | 2.7.0 | 2.7.0 | |
async |
- | 2.13.0 | 2.13.0 | |
boolean_selector |
- | 2.1.2 | 2.1.2 | |
cached_network_image_platform_interface |
- | 4.1.1 | 4.1.1 | |
cached_network_image_web |
- | 1.3.1 | 1.3.1 | |
characters |
- | 1.4.0 | 1.4.1 | |
clock |
- | 1.1.2 | 1.1.2 | |
cloud_firestore_platform_interface |
- | 6.6.2 | 6.6.11 | |
cloud_firestore_web |
- | 4.4.2 | 4.4.11 | |
collection |
- | 1.19.1 | 1.19.1 | |
crypto |
- | 3.0.6 | 3.0.6 | |
csslib |
- | 0.17.3 | 1.0.2 | |
fake_async |
- | 1.3.3 | 1.3.3 | |
ffi |
- | 2.1.4 | 2.1.4 | |
file |
- | 7.0.1 | 7.0.1 | |
firebase_core_platform_interface |
- | 5.4.2 | 6.0.0 | |
firebase_core_web |
- | 2.24.0 | 2.24.1 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
flutter_hooks |
- | 0.20.5 | 0.21.2 | |
graphs |
- | 2.3.2 | 2.3.2 | |
html |
- | 0.15.4 | 0.15.6 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
leak_tracker |
- | 10.0.9 | 11.0.1 | |
leak_tracker_flutter_testing |
- | 3.0.9 | 3.0.10 | |
leak_tracker_testing |
- | 3.0.1 | 3.0.2 | |
list_counter |
- | 1.0.2 | 1.0.2 | |
matcher |
- | 0.12.17 | 0.12.17 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.16.0 | 1.17.0 | |
octo_image |
- | 2.1.0 | 2.1.0 | |
path |
- | 1.9.1 | 1.9.1 | |
path_parsing |
- | 1.1.0 | 1.1.0 | |
path_provider |
- | 2.1.5 | 2.1.5 | |
path_provider_android |
- | 2.2.17 | 2.2.17 | |
path_provider_foundation |
- | 2.4.1 | 2.4.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 | |
petitparser |
- | 6.1.0 | 7.0.0 | |
platform |
- | 3.1.6 | 3.1.6 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
quiver |
- | 3.2.2 | 3.2.2 | |
rive_common |
- | 0.4.15 | 0.4.15 | |
rxdart |
- | 0.28.0 | 0.28.0 | |
source_span |
- | 1.10.1 | 1.10.1 | |
sprintf |
- | 7.0.0 | 7.0.0 | |
sqflite |
- | 2.4.2 | 2.4.2 | |
sqflite_android |
- | 2.4.1 | 2.4.1 | |
sqflite_common |
- | 2.5.5 | 2.5.5 | |
sqflite_darwin |
- | 2.4.2 | 2.4.2 | |
sqflite_platform_interface |
- | 2.4.0 | 2.4.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 | |
synchronized |
- | 3.4.0 | 3.4.0 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
test_api |
- | 0.7.4 | 0.7.6 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
url_launcher_android |
- | 6.3.16 | 6.3.16 | |
url_launcher_ios |
- | 6.3.3 | 6.3.3 | |
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.4.1 | 2.4.1 | |
url_launcher_windows |
- | 3.1.4 | 3.1.4 | |
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.17 | 1.1.17 | |
vector_math |
- | 2.1.4 | 2.2.0 | |
vm_service |
- | 15.0.0 | 15.0.2 | |
web |
- | 1.1.1 | 1.1.1 | |
xdg_directories |
- | 1.1.0 | 1.1.0 | |
xml |
- | 6.5.0 | 6.6.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 `3.10.1` on firebase_core does not support the stable version `3.11.0`.
Try running dart pub upgrade --major-versions firebase_core
to update the constraint.
The constraint `3.0.0-beta.2` on flutter_html does not support the stable version `3.0.0`.
Try running dart pub upgrade --major-versions flutter_html
to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade
does not expose any static analysis error.
Analyzed with Pana 0.22.21
, Flutter 3.32.4
, Dart 3.8.1
.
Check the analysis log for details.