flutter_chat 1.1.0

Flutter Android iOS

Social Chat for Flutter android and iOS using firebase as backend services.

12
likes
80 / 110
pub points
71 %
popularity

We analyzed this package on Sep 26, 2020, and awarded it 80 pub points (of a possible 110):

Follow Dart file conventions
20 / 20

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

Provide documentation
10 / 20

10/10 points: Package has an example

  • Found example at: example/flutter_chat.dart

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

  • 7 out of 92 API elements (7.6 %) 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.

Support multiple platforms
10 / 20

10/20 points: Supports 2 of 3 possible platforms (iOS, Android, Web)

Consider supporting multiple platforms:

Package does not support Flutter platform Web

Because:

  • package:flutter_chat/chatDB.dart that imports:
  • package:firebase_database/firebase_database.dart that declares support for platforms: Android, iOS, macOS

Consider supporting these prerelease platforms:

Package does not support Flutter platform Windows

Because:

  • package:flutter_chat/chatDB.dart that imports:
  • package:firebase_database/firebase_database.dart that declares support for platforms: Android, iOS, macOS
Package does not support Flutter platform Linux

Because:

  • package:flutter_chat/chatDB.dart that imports:
  • package:firebase_database/firebase_database.dart that declares support for platforms: Android, iOS, macOS
Package does not support Flutter platform macOS

Because:

  • package:flutter_chat/chatData.dart that imports:
  • package:flutter_chat/screens/login_screen.dart that imports:
  • package:flutter_chat/chatWidget.dart that imports:
  • package:flutter_chat/screens/chat.dart that imports:
  • package:image_picker/image_picker.dart that declares support for platforms: Android, iOS

These issues are present but do not affect the score, because they may not originate in your package:

Package does not support Flutter platform Android

Because:

  • package:flutter_chat/chatData.dart that imports:
  • package:flutter_chat/screens/login_screen.dart that imports:
  • package:flutter_chat/chatWidget.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:cached_network_image/src/image_provider/_image_provider_io.dart that imports:
  • package:flutter_cache_manager/flutter_cache_manager.dart that imports:
  • package:flutter_cache_manager/src/cache_manager.dart that imports:
  • package:path_provider/path_provider.dart that imports:
  • package:path_provider_windows/path_provider_windows.dart that declares support for platforms: Windows
Package does not support Flutter platform iOS

Because:

  • package:flutter_chat/chatData.dart that imports:
  • package:flutter_chat/screens/login_screen.dart that imports:
  • package:flutter_chat/chatWidget.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:cached_network_image/src/image_provider/_image_provider_io.dart that imports:
  • package:flutter_cache_manager/flutter_cache_manager.dart that imports:
  • package:flutter_cache_manager/src/cache_manager.dart that imports:
  • package:path_provider/path_provider.dart that imports:
  • package:path_provider_windows/path_provider_windows.dart that declares support for platforms: Windows
Pass static analysis
20 / 30

20/30 points: code has no errors, warnings, lints, or formatting issues

Found 7 issues. Showing the first 2:

INFO: 'documents' is deprecated and shouldn't be used. Deprecated in favor of `.docs`.

lib/chatDB.dart:18:53

   ╷
18 │     final List<DocumentSnapshot> documents = result.documents;
   │                                                     ^^^^^^^^^
   ╵

To reproduce make sure you are using pedantic and run flutter analyze lib/chatDB.dart

INFO: Unused import: 'chatDB.dart'.

lib/chatWidget.dart:6:8

  ╷
6 │ import 'chatDB.dart';
  │        ^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using pedantic and run flutter analyze lib/chatWidget.dart

Support up-to-date dependencies
20 / 20

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

PackageConstraintCompatibleLatest
cached_network_image^2.0.0-rc2.3.2+12.3.2+1
cloud_firestore^0.14.0+20.14.0+20.14.0+2
cupertino_icons^1.0.01.0.01.0.0
firebase_analytics^6.0.06.0.06.0.0
firebase_auth^0.18.0+10.18.0+10.18.0+1
firebase_core^0.5.00.5.00.5.0
firebase_database^4.0.04.0.04.0.0
firebase_messaging^7.0.07.0.07.0.0
firebase_storage^4.0.04.0.04.0.0
flutterflutter0.0.00.0.0
flutter_dialogflow^0.1.30.1.30.1.3
flutter_native_image^0.0.40.0.5+20.0.5+2
fluttertoast^7.1.17.1.17.1.1
google_sign_in^4.0.44.5.44.5.4
image_picker^0.6.2+30.6.7+110.6.7+11
intl^0.16.00.16.10.16.1
photo_view^0.10.20.10.20.10.2
Transitive dependencies
PackageConstraintCompatibleLatest
characters-1.0.01.0.0
charcode-1.1.31.1.3
clock-1.0.11.0.1
cloud_firestore_platform_interface-2.0.12.0.1
cloud_firestore_web-0.2.0+10.2.0+1
collection-1.14.131.14.13
convert-2.1.12.1.1
crypto-2.1.52.1.5
ffi-0.1.30.1.3
file-5.2.15.2.1
firebase-7.3.07.3.0
firebase_analytics_platform_interface-1.0.31.0.3
firebase_analytics_web-0.1.10.1.1
firebase_auth_platform_interface-2.0.12.0.1
firebase_auth_web-0.3.0+10.3.0+1
firebase_core_platform_interface-2.0.02.0.0
firebase_core_web-0.2.00.2.0
flutter_blurhash-0.5.00.5.0
flutter_cache_manager-1.4.21.4.2
flutter_plugin_android_lifecycle-1.0.111.0.11
flutter_web_plugins-0.0.00.0.0
google_sign_in_platform_interface-1.1.21.1.2
google_sign_in_web-0.9.20.9.2
googleapis_auth-0.2.120.2.12
http-0.12.20.12.2
http_parser-3.1.43.1.4
image_picker_platform_interface-1.1.11.1.1
js-0.6.20.6.2
matcher-0.12.90.12.9
meta-1.1.81.2.3
octo_image-0.3.00.3.0
path-1.7.01.7.0
path_provider-1.6.181.6.18
path_provider_linux-0.0.1+20.0.1+2
path_provider_macos-0.0.4+40.0.4+4
path_provider_platform_interface-1.0.31.0.3
path_provider_windows-0.0.4+10.0.4+1
pedantic-1.9.01.9.2
platform-2.2.12.2.1
plugin_platform_interface-1.0.21.0.2
process-3.0.133.0.13
quiver-2.1.32.1.3
rxdart-0.24.10.24.1
sky_engine-0.0.990.0.99
source_span-1.7.01.7.0
sqflite-1.3.1+11.3.1+1
sqflite_common-1.0.2+11.0.2+1
stack_trace-1.9.51.9.5
string_scanner-1.0.51.0.5
synchronized-2.2.0+22.2.0+2
term_glyph-1.1.01.1.0
typed_data-1.2.01.2.0
uuid-2.2.22.2.2
vector_math-2.0.82.0.8
win32-1.7.31.7.3
xdg_directories-0.1.00.1.2

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

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