apptex_chat 1.2.2 copy "apptex_chat: ^1.2.2" to clipboard
apptex_chat: ^1.2.2 copied to clipboard

This Package is for making the chat system more easy and user friendly. and control chat features within one click.

15
likes
120/ 160
pub points
73%
popularity

We analyzed this package in the last hour, and awarded it 120 pub points (of a possible 160):

OK
Follow Dart file conventions
30 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

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.

partial
Provide documentation
10 / 20trigger folding of the section

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

8 out of 79 API elements (10.1 %) 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: apptex_chat, apptex_chat.AppTexChat, apptex_chat.AppTexChat.currentUser, apptex_chat.AppTexChat.deleteMessage, apptex_chat.AppTexChat.initChat.

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

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:apptex_chat/apptex_chat.dart that imports:
  • package:apptex_chat/src/myWidgets/message_bubble.dart that imports:
  • package:apptex_chat/src/models/message_model.dart that imports:
  • package:cloud_firestore/cloud_firestore.dart that declares support for platforms: Android, iOS, Windows, macOS, Web.
Package does not support platform `Web`.

Because:

  • package:apptex_chat/apptex_chat.dart that imports:
  • package:apptex_chat/src/myWidgets/image_bubble.dart that imports:
  • package:cached_network_image/cached_network_image.dart that imports:
  • package:cached_network_image/src/image_provider/cached_network_image_provider.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:apptex_chat/apptex_chat.dart that imports:
  • package:apptex_chat/src/myWidgets/image_bubble.dart that imports:
  • package:cached_network_image/cached_network_image.dart that imports:
  • package:cached_network_image/src/image_provider/cached_network_image_provider.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:apptex_chat/apptex_chat.dart that imports:
  • package:apptex_chat/src/myWidgets/message_bubble.dart that imports:
  • package:apptex_chat/src/models/message_model.dart that imports:
  • package:cloud_firestore/cloud_firestore.dart that imports:
  • package:firebase_core_platform_interface/firebase_core_platform_interface.dart that imports:
  • package:firebase_core_platform_interface/src/pigeon/test_api.dart that imports:
  • package:flutter_test/flutter_test.dart that imports:
  • package:flutter_test/src/widget_tester.dart that imports:
  • package:flutter_test/src/test_text_input.dart that imports:
  • package:flutter_test/src/test_text_input_key_handler.dart that imports:
  • package:flutter_test/src/binding.dart that imports:
  • package:flutter_test/src/platform.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.

partial
Pass static analysis
40 / 50trigger folding of the section

40/50 points: code has no errors, warnings, lints, or formatting issues

Found 14 issues. Showing the first 2:

INFO: Statements in an if should be enclosed in a block.

lib/src/apptex_chat.dart:51:7

   ╷
51 │       return result;
   │       ^^^^^^^^^^^^^^
   ╵

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

INFO: Statements in an if should be enclosed in a block.

lib/src/apptex_chat.dart:53:7

   ╷
53 │       return model;
   │       ^^^^^^^^^^^^^
   ╵

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

failed
Support up-to-date dependencies
20 / 40trigger folding of the section

10/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest
cached_network_image any 3.4.1 3.4.1
cloud_firestore any 5.4.4 5.4.4
firebase_storage any 12.3.2 12.3.2
flutter flutter 0.0.0 0.0.0
ntp any 2.0.0 2.0.0
provider any 6.1.2 6.1.2
Transitive dependencies
Package Constraint Compatible Latest
_flutterfire_internals - 1.3.44 1.3.44
async - 2.11.0 2.11.0
boolean_selector - 2.1.1 2.1.1
cached_network_image_platform_interface - 4.1.1 4.1.1
cached_network_image_web - 1.3.1 1.3.1
characters - 1.3.0 1.3.0
clock - 1.1.1 1.1.1
cloud_firestore_platform_interface - 6.4.3 6.4.3
cloud_firestore_web - 4.3.2 4.3.2
collection - 1.18.0 1.19.0
crypto - 3.0.5 3.0.5
fake_async - 1.3.1 1.3.1
ffi - 2.1.3 2.1.3
file - 7.0.0 7.0.0
firebase_core - 3.6.0 3.6.0
firebase_core_platform_interface - 5.3.0 5.3.0
firebase_core_web - 2.18.1 2.18.1
firebase_storage_platform_interface - 5.1.31 5.1.31
firebase_storage_web - 3.10.2 3.10.2
fixnum - 1.1.0 1.1.0
flutter_cache_manager - 3.4.1 3.4.1
flutter_test - 0.0.0 0.0.0
flutter_web_plugins - 0.0.0 0.0.0
http - 1.2.2 1.2.2
http_parser - 4.0.2 4.1.0
leak_tracker - 10.0.5 10.0.7
leak_tracker_flutter_testing - 3.0.5 3.0.8
leak_tracker_testing - 3.0.1 3.0.1
matcher - 0.12.16+1 0.12.16+1
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
nested - 1.0.0 1.0.0
octo_image - 2.1.0 2.1.0
path - 1.9.0 1.9.0
path_provider - 2.1.4 2.1.4
path_provider_android - 2.2.11 2.2.11
path_provider_foundation - 2.4.0 2.4.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
platform - 3.1.5 3.1.5
plugin_platform_interface - 2.1.8 2.1.8
rxdart - 0.28.0 0.28.0
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
sprintf - 7.0.0 7.0.0
sqflite - 2.3.3+2 2.3.3+2
sqflite_common - 2.5.4+4 2.5.4+4
stack_trace - 1.11.1 1.12.0
stream_channel - 2.1.2 2.1.2
string_scanner - 1.2.0 1.3.0
synchronized - 3.3.0+3 3.3.0+3
term_glyph - 1.2.1 1.2.1
test_api - 0.7.2 0.7.3
typed_data - 1.3.2 1.3.2
uuid - 4.5.1 4.5.1
vector_math - 2.1.4 2.1.4
vm_service - 14.2.5 14.3.0
web - 1.1.0 1.1.0
xdg_directories - 1.1.0 1.1.0

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

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 4 errors:

  • ARGUMENT_TYPE_NOT_ASSIGNABLE - lib/src/core/services/chat_services.dart:29:58 - The argument type 'Map<String, dynamic>?' can't be assigned to the parameter type 'Map<String, dynamic>'.
  • ARGUMENT_TYPE_NOT_ASSIGNABLE - lib/src/core/services/conversation_services.dart:28:54 - The argument type 'Map<String, dynamic>?' can't be assigned to the parameter type 'Map<String, dynamic>'.
  • WRONG_NUMBER_OF_TYPE_ARGUMENTS - lib/src/core/services/db_services.dart:17:15 - The type 'QueryDocumentSnapshot' is declared with 0 type parameters, but 1 type arguments were given.

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.12, Flutter 3.24.3, Dart 3.5.3.

Check the analysis log for details.

15
likes
120
pub points
73%
popularity

Publisher

unverified uploader

This Package is for making the chat system more easy and user friendly. and control chat features within one click.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

cached_network_image, cloud_firestore, firebase_storage, flutter, ntp, provider

More

Packages that depend on apptex_chat