tata_rewards 0.0.75 copy "tata_rewards: ^0.0.75" to clipboard
tata_rewards: ^0.0.75 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 [...]

110/ 160
pub points
5.83k
downloads

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

Failed report section
Follow Dart file conventions
20 / 30trigger folding of the section

Failed check 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.

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: BSD-3-Clause.

Failed report section
Provide documentation
10 / 20trigger folding of the section

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

1133 out of 1148 API elements (98.7 %) have documentation comments.

Some symbols that are missing documentation: tata_rewards, tata_rewards.AfterPlayDet.detailsPageImage, tata_rewards.RewardDet.rewardValue, tata_rewards.ScratchCelebrationPage.ScratchCelebrationPage.new, tata_rewards.ScratchCelebrationPage.heroTag.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Passed report section
Platform support
20 / 20trigger folding of the section

Passed check 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.
Failed report section
Pass static analysis
30 / 50trigger folding of the section

Failed check 30/50 points: code has no errors, warnings, lints, or formatting issues

Found 62 issues. Showing the first 2:

WARNING: Unused import: 'package:tata_rewards/src/commons/tata_image_widget.dart'.

lib/src/screens/my_rewards/my_rewards.dart:5:8

  ╷
5 │ import 'package:tata_rewards/src/commons/tata_image_widget.dart';
  │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/screens/my_rewards/my_rewards.dart

WARNING: Unused import: 'package:tata_rewards/src/utils/color_constant.dart'.

lib/src/screens/my_rewards/my_rewards.dart:7:8

  ╷
7 │ import 'package:tata_rewards/src/utils/color_constant.dart';
  │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/screens/my_rewards/my_rewards.dart

Failed report section
Support up-to-date dependencies
30 / 40trigger folding of the section

Failed check 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 4.0.0
cloud_firestore any 6.0.3 6.10.0
confetti 0.8.0 0.8.0 0.8.0
dotted_dashed_line 0.0.3 0.0.3 0.0.3
firebase_core 4.2.0 4.2.0 4.15.0
flutter_cache_manager 3.4.1 3.4.1 3.4.2
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.3.0
http any 1.6.0 1.6.0
image_fade 0.6.2 0.6.2 0.6.2
intl 0.20.2 0.20.2 0.20.3
lottie 3.3.0 3.3.0 3.5.1
responsive_sizer 3.3.1 3.3.1 3.3.1
rive 0.14.9 0.14.9 0.14.11
scratcher 2.5.0 2.5.0 2.5.0
shimmer 3.0.0 3.0.0 4.0.0
simple_gradient_text 1.3.0 1.3.0 1.4.0
url_launcher 6.3.1 6.3.1 6.3.2
Transitive dependencies
Package Constraint Compatible Latest Notes
_flutterfire_internals - 1.3.63 1.3.77
archive - 3.6.1 4.3.0
args - 2.7.0 2.7.0
async - 2.13.1 2.13.1
boolean_selector - 2.1.2 2.1.2
cached_network_image_platform_interface - 4.1.1 5.0.0
cached_network_image_web - 1.3.1 2.0.0
characters - 1.4.1 1.4.1
clock - 1.1.3 1.1.3
cloud_firestore_platform_interface - 7.0.3 8.0.7
cloud_firestore_web - 5.0.3 5.7.3
code_assets - 2.0.0 2.0.0
collection - 1.19.1 1.19.1
crypto - 3.0.7 3.0.7
csslib - 0.17.3 1.0.2
fake_async - 1.3.3 1.3.3
ffi - 2.2.0 2.2.0
file - 7.0.1 7.0.1
firebase_core_platform_interface - 6.0.3 8.1.1
firebase_core_web - 3.6.0 3.12.0
fixnum - 1.1.1 1.1.1
flutter_hooks - 0.20.5 0.21.3+1
graphs - 2.3.2 2.3.2
hooks - 2.2.0 2.2.0
html - 0.15.4 0.15.7
http_parser - 4.1.2 4.1.2
jni - 1.0.3 1.0.3
jni_flutter - 1.0.3 1.0.3
jni_util - 1.0.0 1.0.0
leak_tracker - 11.0.2 11.0.2
leak_tracker_flutter_testing - 3.0.10 3.0.10
leak_tracker_testing - 3.0.2 3.0.2
list_counter - 1.0.2 1.0.2
logging - 1.3.0 1.3.0
matcher - 0.12.20 0.12.20
material_color_utilities - 0.13.0 0.13.1
meta - 1.19.0 1.19.0
objective_c - 9.6.0 9.6.0
octo_image - 2.1.0 2.1.0
package_config - 3.0.0 3.0.0
path - 1.9.1 1.9.1
path_parsing - 1.1.0 1.1.0
path_provider - 2.1.6 2.1.6
path_provider_android - 2.3.1 2.3.1
path_provider_foundation - 2.6.0 2.6.0
path_provider_linux - 2.2.2 2.2.2
path_provider_platform_interface - 2.1.3 2.1.3
path_provider_windows - 2.3.0 2.3.0
petitparser - 7.0.2 7.0.2
platform - 3.2.0 3.2.0
plugin_platform_interface - 2.1.8 2.1.8
pub_semver - 2.2.1 2.2.1
quiver - 3.2.2 3.2.2
record_use - 1.1.1 1.1.1
rive_native - 0.1.9 0.1.11
rxdart - 0.28.0 0.28.0
source_span - 1.10.2 1.10.2
sqflite - 2.4.4 2.4.4
sqflite_android - 2.4.4 2.4.4
sqflite_common - 2.5.12 2.5.12
sqflite_darwin - 2.4.4 2.4.4
sqflite_platform_interface - 2.4.2 2.4.2
stack_trace - 1.12.2 1.12.2
stream_channel - 2.1.4 2.1.4
string_scanner - 1.4.1 1.4.1
synchronized - 3.4.2 3.4.2
term_glyph - 1.2.2 1.2.2
test_api - 0.7.12 0.7.14
typed_data - 1.4.0 1.4.0
url_launcher_android - 6.3.33 6.3.33
url_launcher_ios - 6.4.2 6.4.2
url_launcher_linux - 3.2.3 3.2.3
url_launcher_macos - 3.2.6 3.2.6
url_launcher_platform_interface - 2.3.2 2.3.2
url_launcher_web - 2.4.3 2.4.3
url_launcher_windows - 3.1.6 3.1.6
uuid - 4.6.0 4.6.0
vector_graphics - 1.2.3 1.2.3
vector_graphics_codec - 1.1.13 1.1.13
vector_graphics_compiler - 1.3.0 1.3.0
vector_math - 2.4.2 2.4.2
vm_service - 15.3.0 15.3.0
web - 1.1.1 1.1.1
xdg_directories - 1.1.0 1.1.0
xml - 7.0.1 7.0.1
yaml - 3.1.4 3.1.4

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

Found 11 issues. Showing the first 2:

The constraint `3.4.1` on cached_network_image does not support the stable version `4.0.0`, that was published 17 days ago.

When cached_network_image is 30 days old, this package will no longer be awarded points in this category.

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

The constraint `4.2.0` on firebase_core does not support the stable version `4.2.1`.

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

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

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.23.19, Flutter 3.47.0, Dart 3.13.0.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
4
likes
110
points
5.83k
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

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. Ideal for applications looking to integrate gamified rewards and incentivize user interaction.

Homepage

License

BSD-3-Clause (license)

Dependencies

cached_network_image, cloud_firestore, confetti, dotted_dashed_line, firebase_core, flutter, flutter_cache_manager, flutter_fortune_wheel, flutter_html, flutter_svg, http, image_fade, intl, lottie, responsive_sizer, rive, scratcher, shimmer, simple_gradient_text, url_launcher

More

Packages that depend on tata_rewards