rich_clipboard_windows 1.0.3 copy "rich_clipboard_windows: ^1.0.3" to clipboard
rich_clipboard_windows: ^1.0.3 copied to clipboard

unlisted

Windows implementation of the rich_clipboard plugin.

80/ 160
pub points
1.54k
downloads

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

Passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

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: BSD-3-Clause.

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

7 out of 9 API elements (77.8 %) have documentation comments.

Some symbols that are missing documentation: rich_clipboard_windows, rich_clipboard_windows.RichClipboardWindows.RichClipboardWindows.new.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Failed report section
Platform support
0 / 20trigger folding of the section

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

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 27 issues. Showing the first 2:

ERROR: The argument type 'int' can't be assigned to the parameter type 'HWND?'.

lib/src/win32_clipboard.dart:23:32

   ╷
23 │   bool open() => OpenClipboard(0) == TRUE;
   │                                ^
   ╵

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

ERROR: A value of type 'Win32Result

lib/src/win32_clipboard.dart:47:18

   ╷
47 │       formatId = RegisterClipboardFormat(formatStringPtr.cast<Utf16>());
   │                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

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

Passed report section
Support up-to-date dependencies
40 / 40trigger folding of the section

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

Package Constraint Compatible Latest Notes
collection ^1.15.0 1.19.1 1.19.1
ffi >=1.1.2 <3.0.0 2.2.0 2.2.0
rich_clipboard_platform_interface ^1.0.0 1.0.0 1.0.0
win32 >=5.0.0 6.0.0 6.0.0
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.0 2.13.0
characters - 1.4.1 1.4.1
code_assets - 1.0.0 1.0.0
crypto - 3.0.7 3.0.7
ffi_leak_tracker - 0.1.1 0.1.1
file - 7.0.1 7.0.1
glob - 2.1.3 2.1.3
hooks - 1.0.2 1.0.2
logging - 1.3.0 1.3.0
material_color_utilities - 0.13.0 0.13.0
meta - 1.17.0 1.18.2
native_toolchain_c - 0.17.6 0.17.6
path - 1.9.1 1.9.1
plugin_platform_interface - 2.1.8 2.1.8
pub_semver - 2.2.0 2.2.0
source_span - 1.10.2 1.10.2
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
vector_math - 2.2.0 2.3.0
yaml - 3.1.3 3.1.3

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

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

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.23.11, Flutter 3.41.4, Dart 3.11.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions: