capture_box 1.0.0 copy "capture_box: ^1.0.0" to clipboard
capture_box: ^1.0.0 copied to clipboard

A Flutter package that turns your custom widgets into an image file.

1
likes
150/ 160
pub points
22%
popularity

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

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

10/10 points: Provide a valid pubspec.yaml

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: MIT.

OK
Provide documentation
20 / 20trigger folding of the section

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

23 out of 37 API elements (62.2 %) have documentation comments.

Some symbols that are missing documentation: capture_box, capture_box.CaptureBox.child, capture_box.CaptureBox.controller, capture_box.SaveMode, capture_box.SaveMode.SaveMode.

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android
  • ✓ Windows
  • ✓ Linux
  • ✓ Web

These platforms are not supported:

Package does not support platform `iOS`.

Because:

  • package:capture_box/capture_box.dart that declares support for platforms: Android, Windows, Linux, Web.
Package does not support platform `macOS`.

Because:

  • package:capture_box/capture_box.dart that declares support for platforms: Android, Windows, Linux, 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:capture_box/capture_box.dart that imports:
  • package:file_picker/file_picker.dart that imports:
  • package:file_picker/src/file_picker.dart that imports:
  • package:file_picker/src/windows/file_picker_windows.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `Linux`.

Because:

  • package:capture_box/capture_box.dart that imports:
  • package:file_picker/file_picker.dart that imports:
  • package:file_picker/src/file_picker.dart that imports:
  • package:file_picker/src/windows/file_picker_windows.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `Web`.

Because:

  • package:capture_box/capture_box.dart that imports:
  • package:path_provider/path_provider.dart that declares support for platforms: Android, iOS, Windows, Linux, macOS.
partial
Pass static analysis
40 / 50trigger folding of the section

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

Found 3 issues. Showing the first 2:

lib/capture_box.dart doesn't match the Dart formatter.

To format your files run: dart format .

lib/capture_box_method_channel.dart doesn't match the Dart formatter.

To format your files run: dart format .

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

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

Package Constraint Compatible Latest
file_picker ^8.0.0+1 8.0.5 8.0.5
flutter flutter 0.0.0 0.0.0
flutter_web_plugins flutter 0.0.0 0.0.0
image ^4.1.7 4.2.0 4.2.0
path ^1.8.3 1.9.0 1.9.0
path_provider ^2.1.3 2.1.3 2.1.3
pdf ^3.10.8 3.10.8 3.10.8
plugin_platform_interface ^2.0.2 2.1.8 2.1.8
printing ^5.12.0 5.12.0 5.12.0
universal_html ^2.2.4 2.2.4 2.2.4
Transitive dependencies
Package Constraint Compatible Latest
archive - 3.6.1 3.6.1
async - 2.11.0 2.11.0
barcode - 2.2.8 2.2.8
bidi - 2.0.10 2.0.10
characters - 1.3.0 1.3.0
charcode - 1.3.1 1.3.1
collection - 1.18.0 1.19.0
cross_file - 0.3.4+1 0.3.4+1
crypto - 3.0.3 3.0.3
csslib - 1.0.0 1.0.0
ffi - 2.1.2 2.1.2
flutter_plugin_android_lifecycle - 2.0.20 2.0.20
html - 0.15.4 0.15.4
http - 1.2.1 1.2.1
http_parser - 4.0.2 4.0.2
js - 0.7.1 0.7.1
material_color_utilities - 0.8.0 0.12.0
meta - 1.12.0 1.15.0
path_parsing - 1.0.1 1.0.1
path_provider_android - 2.2.5 2.2.5
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.2.1 2.2.1
pdf_widget_wrapper - 1.0.4 1.0.4
petitparser - 6.0.2 6.0.2
platform - 3.1.5 3.1.5
qr - 3.0.1 3.0.1
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
string_scanner - 1.2.0 1.2.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.3.2 1.3.2
universal_io - 2.2.2 2.2.2
vector_math - 2.1.4 2.1.4
web - 0.5.1 0.5.1
win32 - 5.5.1 5.5.1
xdg_directories - 1.0.4 1.0.4
xml - 6.5.0 6.5.0

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

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.6, Flutter 3.22.2, Dart 3.4.3.

Check the analysis log for details.