chat_composer 0.0.1 copy "chat_composer: ^0.0.1" to clipboard
chat_composer: ^0.0.1 copied to clipboard

PlatformAndroidiOS
outdated

A Flutter package for easy implementation of chat composer.

46
likes
110/ 160
pub points
108
downloads

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

failed
Follow Dart file conventions
10 / 30trigger folding of the section

0/10 points: Provide a valid pubspec.yaml

The package description is too short.

Add more detail to the description field of pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.

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.

partial
Provide documentation
10 / 20trigger folding of the section

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

22 out of 113 API elements (19.5 %) 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: chat_composer, chat_composer.ChatComposer, chat_composer.ChatComposer.ChatComposer, chat_composer.ChatComposer.backgroundColor, chat_composer.ChatComposer.borderRadius.

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

20/20 points: Supports 2 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:chat_composer/chat_composer.dart that imports:
  • package:chat_composer/widgets/send_button.dart that imports:
  • package:fluttertoast/fluttertoast.dart that declares support for platforms: Android, iOS, Web.
Package does not support platform `Linux`.

Because:

  • package:chat_composer/chat_composer.dart that imports:
  • package:chat_composer/widgets/send_button.dart that imports:
  • package:fluttertoast/fluttertoast.dart that declares support for platforms: Android, iOS, Web.
Package does not support platform `macOS`.

Because:

  • package:chat_composer/chat_composer.dart that imports:
  • package:chat_composer/widgets/send_button.dart that imports:
  • package:fluttertoast/fluttertoast.dart that declares support for platforms: Android, iOS, Web.
Package does not support platform `Web`.

Because:

  • package:chat_composer/chat_composer.dart that imports:
  • package:chat_composer/widgets/send_button.dart that imports:
  • package:chat_composer/cubit/recordaudio_cubit.dart that imports:
  • package:permission_handler/permission_handler.dart that declares support for platforms: Android, iOS.

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:chat_composer/chat_composer.dart that imports:
  • package:chat_composer/widgets/send_button.dart that imports:
  • package:fluttertoast/fluttertoast.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 11 issues. Showing the first 2:

INFO: The import of 'package:meta/meta.dart' is unnecessary because all of the used elements are also provided by the import of 'package:flutter/cupertino.dart'.

lib/cubit/recordaudio_cubit.dart:7:8

  ╷
7 │ import 'package:meta/meta.dart';
  │        ^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

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

INFO: Empty catch block.

lib/cubit/recordaudio_cubit.dart:36:17

   ╷
36 │     } catch (e) {}
   │                 ^^
   ╵

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

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

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

Package Constraint Compatible Latest
bloc ^7.2.1 7.2.1 8.1.4
flutter flutter 0.0.0 0.0.0
flutter_audio_recorder2 ^0.0.2 0.0.2 0.0.2
flutter_bloc ^7.3.3 7.3.3 8.1.6
fluttertoast ^8.0.8 8.2.10 8.2.10
meta ^1.7.0 1.15.0 1.16.0
path_provider ^2.0.6 2.1.5 2.1.5
permission_handler ^8.2.6 8.3.0 11.3.1
Transitive dependencies
Package Constraint Compatible Latest
characters - 1.3.0 1.4.0
collection - 1.19.0 1.19.1
ffi - 2.1.3 2.1.3
file - 6.1.4 7.0.1
flutter_web_plugins - 0.0.0 0.0.0
material_color_utilities - 0.11.1 0.12.0
nested - 1.0.0 1.0.0
path - 1.9.1 1.9.1
path_provider_android - 2.2.15 2.2.15
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
permission_handler_platform_interface - 3.12.0 4.2.3
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
provider - 6.1.2 6.1.2
sky_engine - 0.0.0 0.0.0
vector_math - 2.1.4 2.1.4
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.

Found 3 issues. Showing the first 2:

The constraint `^7.2.1` on bloc does not support the stable version `8.0.0`.

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

The constraint `^7.3.3` on flutter_bloc does not support the stable version `8.0.0`.

Try running dart pub upgrade --major-versions flutter_bloc 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.17, Flutter 3.27.0, Dart 3.6.0.

Check the analysis log for details.