bytedesk_kefu 1.6.4 copy "bytedesk_kefu: ^1.6.4" to clipboard
bytedesk_kefu: ^1.6.4 copied to clipboard

the best app chat sdk in china, you can chat with the agent freely at anytime. the agent can chat with the visitor by web/pc/mac/ios/android client.

8
likes
80/ 160
pub points
36%
popularity

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

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

10/10 points: Provide a valid pubspec.yaml

Issue tracker URL doesn't exist.

At the time of the analysis https://github.com/Bytedesk/bytedesk-flutter/issues 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: Apache-2.0.

OK
Provide documentation
20 / 20trigger folding of the section

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

2554 out of 5863 API elements (43.6 %) have documentation comments.

Some symbols that are missing documentation: anchor, anchor.AnchorKey, anchor.AnchorKey.forId, anchor.AnchorKey.id, anchor.AnchorKey.of.

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

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

Package does not support platform `Android`.

Because:

  • package:bytedesk_kefu/bytedesk_kefu.dart that imports:
  • package:bytedesk_kefu/ui/chat/provider/chat_kf_provider.dart that imports:
  • package:bytedesk_kefu/ui/chat/page/chat_kf_page.dart that imports:
  • package:bytedesk_kefu/ui/chat/widget/message_widget.dart that imports:
  • package:bytedesk_kefu/ui/chat/page/video_play_page.dart that imports:
  • package:chewie/chewie.dart that imports:
  • package:chewie/src/material/material_desktop_controls.dart that imports:
  • package:chewie/src/chewie_player.dart that imports:
  • package:wakelock_plus/wakelock_plus.dart that imports:
  • package:wakelock_plus/src/wakelock_plus_io_plugin.dart that imports:
  • package:wakelock_plus/src/wakelock_plus_windows_plugin.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `iOS`.

Because:

  • package:bytedesk_kefu/bytedesk_kefu.dart that imports:
  • package:bytedesk_kefu/ui/chat/provider/chat_kf_provider.dart that imports:
  • package:bytedesk_kefu/ui/chat/page/chat_kf_page.dart that imports:
  • package:bytedesk_kefu/ui/chat/widget/message_widget.dart that imports:
  • package:bytedesk_kefu/ui/chat/page/video_play_page.dart that imports:
  • package:chewie/chewie.dart that imports:
  • package:chewie/src/material/material_desktop_controls.dart that imports:
  • package:chewie/src/chewie_player.dart that imports:
  • package:wakelock_plus/wakelock_plus.dart that imports:
  • package:wakelock_plus/src/wakelock_plus_io_plugin.dart that imports:
  • package:wakelock_plus/src/wakelock_plus_windows_plugin.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `Windows`.

Because:

  • package:bytedesk_kefu/bytedesk_kefu.dart that imports:
  • package:bytedesk_kefu/ui/leavemsg/provider/leavemsg_history_provider.dart that imports:
  • package:bytedesk_kefu/blocs/leavemsg_bloc/leavemsg_bloc.dart that imports:
  • package:bytedesk_kefu/util/bytedesk_utils.dart that imports:
  • package:image_gallery_saver/image_gallery_saver.dart that declares support for platforms: Android, iOS.
Package does not support platform `Linux`.

Because:

  • package:bytedesk_kefu/bytedesk_kefu.dart that imports:
  • package:bytedesk_kefu/ui/leavemsg/provider/leavemsg_history_provider.dart that imports:
  • package:bytedesk_kefu/blocs/leavemsg_bloc/leavemsg_bloc.dart that imports:
  • package:bytedesk_kefu/util/bytedesk_utils.dart that imports:
  • package:image_gallery_saver/image_gallery_saver.dart that declares support for platforms: Android, iOS.
Package does not support platform `macOS`.

Because:

  • package:bytedesk_kefu/bytedesk_kefu.dart that imports:
  • package:bytedesk_kefu/ui/leavemsg/provider/leavemsg_history_provider.dart that imports:
  • package:bytedesk_kefu/blocs/leavemsg_bloc/leavemsg_bloc.dart that imports:
  • package:bytedesk_kefu/util/bytedesk_utils.dart that imports:
  • package:image_gallery_saver/image_gallery_saver.dart that declares support for platforms: Android, iOS.
Package does not support platform `Web`.

Because:

  • package:bytedesk_kefu/bytedesk_kefu.dart that imports:
  • package:bytedesk_kefu/ui/leavemsg/provider/leavemsg_history_provider.dart that imports:
  • package:bytedesk_kefu/blocs/leavemsg_bloc/leavemsg_bloc.dart that imports:
  • package:bytedesk_kefu/util/bytedesk_utils.dart that imports:
  • package:image_gallery_saver/image_gallery_saver.dart that declares support for platforms: Android, iOS.

0/0 points: WASM compatibility

Unable to detect compatibility with runtime wasm, and this package will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

failed
Pass static analysis
0 / 50trigger folding of the section

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

Found 122 issues. Showing the first 2:

ERROR: The getter 'headline1' isn't defined for the type 'TextTheme'.

lib/ui/chat/widget/flutter_html/style.dart:250:47

    ╷
250 │     'h1': Style.fromTextStyle(theme.textTheme.headline1!),
    │                                               ^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/ui/chat/widget/flutter_html/style.dart

ERROR: The getter 'headline2' isn't defined for the type 'TextTheme'.

lib/ui/chat/widget/flutter_html/style.dart:251:47

    ╷
251 │     'h2': Style.fromTextStyle(theme.textTheme.headline2!),
    │                                               ^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/ui/chat/widget/flutter_html/style.dart

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

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

Package Constraint Compatible Latest
bloc ^8.1.2 8.1.4 8.1.4
cached_network_image ^3.2.3 3.3.1 3.4.1
chewie ^1.7.0 1.8.5 1.8.5
collection ^1.17.1 1.18.0 1.19.1
crypto ^3.0.3 3.0.6 3.0.6
css_colors ^1.1.1 1.1.5 1.1.5
csslib ^0.17.3 0.17.3 1.0.2
equatable ^2.0.5 2.0.5 2.0.5
event_bus ^2.0.0 2.0.1 2.0.1
flutter flutter 0.0.0 0.0.0
flutter_bloc ^8.1.3 8.1.6 8.1.6
flutter_cache_manager ^3.3.1 3.3.1 3.4.1
flutter_web_plugins flutter 0.0.0 0.0.0
fluttertoast ^8.2.2 8.2.8 8.2.8
html ^0.15.4 0.15.4 0.15.5
http ^0.13.6 0.13.6 1.2.2
http_parser ^4.0.2 4.0.2 4.1.1
image_gallery_saver ^1.7.1 1.7.1 2.0.3
image_picker ^1.0.1 1.1.2 1.1.2
intl ^0.18.0 0.18.1 0.20.0
meta ^1.9.1 1.15.0 1.16.0
numerus ^2.1.2 2.3.0 2.3.0
package_info ^2.0.2 2.0.2 2.0.2
path ^1.8.3 1.9.1 1.9.1
photo_view ^0.14.0 0.14.0 0.15.0
plugin_platform_interface ^2.1.5 2.1.8 2.1.8
protobuf ^2.1.0 2.1.0 3.1.0
provider ^6.0.5 6.1.2 6.1.2
pull_to_refresh ^2.0.0 2.0.0 2.0.0
sp_util ^2.0.3 2.0.3 2.0.3
sqflite ^2.3.0 2.4.1 2.4.1
typed_data ^1.3.2 1.4.0 1.4.0
universal_html ^2.2.3 2.2.4 2.2.4
url_launcher ^6.1.12 6.3.1 6.3.1
video_player ^2.7.0 2.9.2 2.9.2
webview_flutter ^4.2.2 4.9.0 4.10.0
webview_flutter_android ^3.9.2 3.16.9 4.0.2
webview_flutter_wkwebview ^3.7.2 3.16.2 3.16.2
Transitive dependencies
Package Constraint Compatible Latest
args - 2.6.0 2.6.0
async - 2.12.0 2.12.0
cached_network_image_platform_interface - 4.0.0 4.1.1
cached_network_image_web - 1.2.0 1.3.1
characters - 1.3.0 1.3.1
charcode - 1.3.1 1.3.1
clock - 1.1.2 1.1.2
cross_file - 0.3.4+2 0.3.4+2
cupertino_icons - 1.0.8 1.0.8
dbus - 0.7.10 0.7.10
ffi - 2.1.3 2.1.3
file - 7.0.1 7.0.1
file_selector_linux - 0.9.3+1 0.9.3+1
file_selector_macos - 0.9.4+2 0.9.4+2
file_selector_platform_interface - 2.6.2 2.6.2
file_selector_windows - 0.9.3+3 0.9.3+3
fixnum - 1.1.1 1.1.1
flutter_plugin_android_lifecycle - 2.0.23 2.0.23
image_picker_android - 0.8.12+17 0.8.12+17
image_picker_for_web - 3.0.6 3.0.6
image_picker_ios - 0.8.12+1 0.8.12+1
image_picker_linux - 0.2.1+1 0.2.1+1
image_picker_macos - 0.2.1+1 0.2.1+1
image_picker_platform_interface - 2.10.0 2.10.0
image_picker_windows - 0.2.1+1 0.2.1+1
material_color_utilities - 0.11.1 0.12.0
mime - 2.0.0 2.0.0
nested - 1.0.0 1.0.0
octo_image - 2.1.0 2.1.0
package_info_plus - 8.1.1 8.1.1
package_info_plus_platform_interface - 3.0.1 3.0.1
path_provider - 2.1.5 2.1.5
path_provider_android - 2.2.12 2.2.12
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
petitparser - 6.0.2 6.0.2
platform - 3.1.6 3.1.6
rxdart - 0.27.7 0.28.0
shared_preferences - 2.3.3 2.3.3
shared_preferences_android - 2.3.3 2.3.3
shared_preferences_foundation - 2.5.3 2.5.3
shared_preferences_linux - 2.4.1 2.4.1
shared_preferences_platform_interface - 2.4.1 2.4.1
shared_preferences_web - 2.4.2 2.4.2
shared_preferences_windows - 2.4.1 2.4.1
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
sprintf - 7.0.0 7.0.0
sqflite_android - 2.4.0 2.4.0
sqflite_common - 2.5.4+5 2.5.4+5
sqflite_darwin - 2.4.1 2.4.1
sqflite_platform_interface - 2.4.0 2.4.0
string_scanner - 1.4.0 1.4.0
synchronized - 3.3.0+3 3.3.0+3
term_glyph - 1.2.1 1.2.1
universal_io - 2.2.2 2.2.2
url_launcher_android - 6.3.14 6.3.14
url_launcher_ios - 6.3.1 6.3.1
url_launcher_linux - 3.2.1 3.2.1
url_launcher_macos - 3.2.1 3.2.1
url_launcher_platform_interface - 2.3.2 2.3.2
url_launcher_web - 2.3.3 2.3.3
url_launcher_windows - 3.1.3 3.1.3
uuid - 4.5.1 4.5.1
vector_math - 2.1.4 2.1.4
video_player_android - 2.7.16 2.7.16
video_player_avfoundation - 2.6.2 2.6.2
video_player_platform_interface - 6.2.3 6.2.3
video_player_web - 2.3.3 2.3.3
wakelock_plus - 1.2.8 1.2.8
wakelock_plus_platform_interface - 1.2.1 1.2.1
web - 1.1.0 1.1.0
webview_flutter_platform_interface - 2.10.0 2.10.0
win32 - 5.8.0 5.8.0
xdg_directories - 1.1.0 1.1.0
xml - 6.5.0 6.5.0

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

Found 7 issues. Showing the first 2:

The constraint `^0.17.3` on csslib does not support the stable version `1.0.0`.

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

The constraint `^0.13.6` on http does not support the stable version `1.0.0`.

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

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

  • UNDEFINED_GETTER - lib/ui/chat/widget/flutter_html/style.dart:250:47 - The getter 'headline1' isn't defined for the type 'TextTheme'.
  • UNDEFINED_GETTER - lib/ui/chat/widget/flutter_html/style.dart:251:47 - The getter 'headline2' isn't defined for the type 'TextTheme'.
  • UNDEFINED_GETTER - lib/ui/chat/widget/flutter_html/style.dart:252:47 - The getter 'headline3' isn't defined for the type 'TextTheme'.

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.15, Flutter 3.24.4, Dart 3.5.4.

Check the analysis log for details.