zhx_tk_widget 0.0.14 copy "zhx_tk_widget: ^0.0.14" to clipboard
zhx_tk_widget: ^0.0.14 copied to clipboard

outdated

zhx_tk_widget

60/ 160
pub points
5
downloads

We analyzed this package 3 days ago, and awarded it 60 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 short.

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

Failed to verify repository URL.

Repository has no matching pubspec.yaml with name: zhx_tk_widget.

Please provide a valid repository URL in pubspec.yaml, such that:

  • repository can be cloned,
  • a clone of the repository contains a pubspec.yaml, which:,
    • contains name: zhx_tk_widget,
    • contains a version property, and,
    • does not contain a publish_to property.

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: Apache-2.0.

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

457 out of 1845 API elements (24.8 %) have documentation comments.

Some symbols that are missing documentation: zhx_tk_widget, zhx_tk_widget.AtElem, zhx_tk_widget.AtElem.AtElem.fromJson, zhx_tk_widget.AtElem.AtElem.new, zhx_tk_widget.AtElem.atUserList.

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 1 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

These platforms are not supported:

Package does not support platform `iOS`.

Because:

  • package:zhx_tk_widget/zhx_tk_widget.dart that imports:
  • package:zhx_tk_widget/src/chat_video_player_view.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:zhx_tk_widget/zhx_tk_widget.dart that imports:
  • package:zhx_tk_widget/src/util/voice_record.dart that imports:
  • package:record/record.dart that declares support for platforms: Android, iOS, Web.
Package does not support platform `Linux`.

Because:

  • package:zhx_tk_widget/zhx_tk_widget.dart that imports:
  • package:zhx_tk_widget/src/util/voice_record.dart that imports:
  • package:record/record.dart that declares support for platforms: Android, iOS, Web.
Package does not support platform `macOS`.

Because:

  • package:zhx_tk_widget/zhx_tk_widget.dart that imports:
  • package:zhx_tk_widget/src/util/voice_record.dart that imports:
  • package:record/record.dart that declares support for platforms: Android, iOS, Web.
Package does not support platform `Web`.

Because:

  • package:zhx_tk_widget/zhx_tk_widget.dart that imports:
  • package:zhx_tk_widget/src/util/voice_record.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 `Android`.

Because:

  • package:zhx_tk_widget/zhx_tk_widget.dart that imports:
  • package:zhx_tk_widget/src/chat_video_player_view.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.
Failed report section
Pass static analysis
0 / 50trigger folding of the section

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

Found 70 issues. Showing the first 2:

ERROR: The name 'MenuStyle' is defined in the libraries 'package:flutter/src/material/menu_style.dart (via package:flutter/material.dart)' and 'package:zhx_tk_widget/src/chat_menu.dart (via package:zhx_tk_widget/zhx_tk_widget.dart)'.

lib/src/chat_itemview.dart:142:9

    ╷
142 │   final MenuStyle? menuStyle;
    │         ^^^^^^^^^
    ╵

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

ERROR: The name 'MenuStyle' is defined in the libraries 'package:flutter/src/material/menu_style.dart (via package:flutter/material.dart)' and 'package:zhx_tk_widget/src/chat_menu.dart (via package:zhx_tk_widget/zhx_tk_widget.dart)'.

lib/src/chat_itemview.dart:736:13

    ╷
736 │             MenuStyle(
    │             ^^^^^^^^^
    ╵

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

Failed report section
Support up-to-date dependencies
10 / 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
animate_do ^2.1.0 2.1.0 4.2.0
chewie ^1.3.1 1.13.0 1.13.0
dio ^4.0.6 4.0.6 5.9.0
extended_image ^6.0.2+1 6.4.1 10.0.1
extended_text_field ^10.0.1 10.2.0 16.0.2
flutter_cache_manager ^3.3.0 3.4.1 3.4.1
flutter_image_compress ^1.1.0 1.1.3 2.4.0
flutter_inappwebview ^5.3.2 5.8.0 6.1.5
flutter_keyboard_visibility ^5.2.0 5.4.1 6.0.0
flutter_screenutil ^5.3.1 5.9.3 5.9.3
flutter_slidable ^1.2.0 1.3.2 4.0.3
flutter_svg ^1.0.3 1.1.6 2.2.3
focus_detector ^2.0.1 2.0.1 2.0.1
font_awesome_flutter ^10.0.0 10.12.0 10.12.0
just_audio ^0.9.20 0.9.46 0.10.5
lottie ^1.2.2 1.4.3 3.3.2
mime_type ^1.0.0 1.0.1 1.0.1
path_provider ^2.0.9 2.1.5 2.1.5
permission_handler ^9.1.0 9.2.0 12.0.1
qq_badge ^0.0.2 0.0.2 0.0.2
record ^3.0.2 3.0.4 6.1.2
rxdart ^0.27.3 0.27.7 0.28.0
sprintf ^6.0.0 6.0.2 7.0.0
video_player ^2.3.0 2.10.1 2.10.1
zhx_tk ^0.0.14 0.0.15 0.0.15
Transitive dependencies
Package Constraint Compatible Latest Notes
archive - 3.6.1 4.0.7
args - 2.7.0 2.7.0
async - 2.13.0 2.13.0
audio_session - 0.1.25 0.2.2
characters - 1.4.0 1.4.1
clock - 1.1.2 1.1.2
code_assets - 1.0.0 1.0.0
collection - 1.19.1 1.19.1
crypto - 3.0.7 3.0.7
csslib - 1.0.2 1.0.2
cupertino_icons - 1.0.8 1.0.8
dbus - 0.7.11 0.7.11
extended_image_library - 3.6.0 5.0.1
extended_text_library - 9.1.1 12.0.1
ffi - 2.1.5 2.1.5
file - 7.0.1 7.0.1
fixnum - 1.1.1 1.1.1
flutter_keyboard_visibility_linux - 1.0.0 1.0.0
flutter_keyboard_visibility_macos - 1.0.0 1.0.0
flutter_keyboard_visibility_platform_interface - 2.0.0 2.0.0
flutter_keyboard_visibility_web - 2.0.0 2.0.0
flutter_keyboard_visibility_windows - 1.0.0 1.0.0
glob - 2.1.3 2.1.3
hooks - 1.0.0 1.0.0
html - 0.15.6 0.15.6
http - 1.6.0 1.6.0
http_client_helper - 3.0.0 3.0.0
http_parser - 4.1.2 4.1.2
js - 0.6.7 0.7.2 Discontinued
just_audio_platform_interface - 4.6.0 4.6.0
just_audio_web - 0.4.16 0.4.16
logging - 1.3.0 1.3.0
material_color_utilities - 0.11.1 0.13.0
meta - 1.17.0 1.18.0
native_toolchain_c - 0.17.4 0.17.4
nested - 1.0.0 1.0.0
objective_c - 9.2.4 9.2.4
package_info_plus - 9.0.0 9.0.0
package_info_plus_platform_interface - 3.2.1 3.2.1
path - 1.9.1 1.9.1
path_drawing - 1.0.1 1.0.1
path_parsing - 1.1.0 1.1.0
path_provider_android - 2.2.22 2.2.22
path_provider_foundation - 2.6.0 2.6.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
permission_handler_android - 9.0.2+1 13.0.1
permission_handler_apple - 9.1.4 9.4.7
permission_handler_platform_interface - 3.12.0 4.3.0
permission_handler_windows - 0.1.3 0.2.1
petitparser - 7.0.1 7.0.1
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
provider - 6.1.5+1 6.1.5+1
pub_semver - 2.2.0 2.2.0
record_platform_interface - 0.2.0 1.4.0
record_web - 0.2.1 1.2.2
source_span - 1.10.1 1.10.1
sqflite - 2.4.2 2.4.2
sqflite_android - 2.4.2+2 2.4.2+2
sqflite_common - 2.5.6 2.5.6
sqflite_darwin - 2.4.2 2.4.2
sqflite_platform_interface - 2.4.0 2.4.0
string_scanner - 1.4.1 1.4.1
synchronized - 3.4.0 3.4.0
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
uuid - 4.5.2 4.5.2
vector_math - 2.2.0 2.2.0
video_player_android - 2.9.1 2.9.1
video_player_avfoundation - 2.9.0 2.9.0
video_player_platform_interface - 6.6.0 6.6.0
video_player_web - 2.4.0 2.4.0
visibility_detector - 0.2.2 0.4.0+2
wakelock_plus - 1.4.0 1.4.0
wakelock_plus_platform_interface - 1.3.0 1.3.0
web - 1.1.1 1.1.1
win32 - 5.15.0 5.15.0
xdg_directories - 1.1.0 1.1.0
xml - 6.6.1 6.6.1
yaml - 3.1.3 3.1.3

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

Found 15 issues. Showing the first 2:

The constraint `^2.1.0` on animate_do does not support the stable version `3.0.0`.

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

The constraint `^4.0.6` on dio does not support the stable version `5.0.0`.

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

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

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 3 errors:

  • AMBIGUOUS_IMPORT - lib/src/chat_itemview.dart:142:9 - The name 'MenuStyle' is defined in the libraries 'package:flutter/src/material/menu_style.dart (via package:flutter/material.dart)' and 'package:zhx_tk_widget/src/chat_menu.dart (via package:zhx_tk_widget/zhx_tk_widget.dart)'.
  • AMBIGUOUS_IMPORT - lib/src/chat_itemview.dart:736:13 - The name 'MenuStyle' is defined in the libraries 'package:flutter/src/material/menu_style.dart (via package:flutter/material.dart)' and 'package:zhx_tk_widget/src/chat_menu.dart (via package:zhx_tk_widget/zhx_tk_widget.dart)'.
  • INVOCATION_OF_NON_FUNCTION - lib/src/chat_itemview.dart:736:13 - 'MenuStyle' isn't a function.

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.23.8, Flutter 3.38.6, Dart 3.10.7.

Check the analysis log for details.

Weekly downloads

Display as:
By versions: