flutter_picture_taker 0.2.0
flutter_picture_taker: ^0.2.0 copied to clipboard
A simple Flutter package for capturing still pictures using the camera plugin targeting iOS, Android, and the web.
We analyzed this package 28 hours ago, and awarded it 150 pub points (of a possible 160):
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: BSD-3-Clause.
10/10 points: 20% or more of the public API has dartdoc comments
4 out of 5 API elements (80.0 %) have documentation comments.
Some symbols that are missing documentation: flutter_picture_taker.
10/10 points: Package has an example
20/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Web
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:flutter_picture_taker/flutter_picture_taker.dartthat imports:package:flutter_picture_taker/src/still_picture_dialog.dartthat imports:package:camera/camera.dartthat declares support for platforms:Android,iOS,Web.
Package does not support platform `Linux`.
Because:
package:flutter_picture_taker/flutter_picture_taker.dartthat imports:package:flutter_picture_taker/src/still_picture_dialog.dartthat imports:package:camera/camera.dartthat declares support for platforms:Android,iOS,Web.
Package does not support platform `macOS`.
Because:
package:flutter_picture_taker/flutter_picture_taker.dartthat imports:package:flutter_picture_taker/src/still_picture_dialog.dartthat imports:package:camera/camera.dartthat declares support for platforms:Android,iOS,Web.
0/0 points: WASM compatibility
This package is compatible with runtime wasm, and will be rewarded additional points in a future version of the scoring model.
See https://dart.dev/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 7 issues. Showing the first 2:
INFO: The referenced name isn't visible in scope.
lib/src/adaptive_dialog.dart:22:12
╷
22 │ /// * [child]: The widget to display as the dialog's content.
│ ^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/adaptive_dialog.dart
INFO: Specify the type of a local variable when the type is non-obvious.
lib/src/still_picture_dialog.dart:33:3
╷
33 │ ┌ final image = await AdaptiveDialog.show<XFile>(
34 │ │ context: context,
35 │ │ barrierDismissible: true,
36 │ │ content: const Padding(
37 │ │ padding: EdgeInsets.all(16),
38 │ │ child: StillCameraDialog(),
39 │ │ ),
40 │ │ );
│ └───^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/still_picture_dialog.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
camera |
^0.11.0+2 |
0.11.3 | 0.11.3 | |
mime |
^2.0.0 |
2.0.0 | 2.0.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
- | 2.13.0 | 2.13.0 | |
camera_android_camerax |
- | 0.6.24+1 | 0.6.24+1 | |
camera_avfoundation |
- | 0.9.22+4 | 0.9.22+4 | |
camera_platform_interface |
- | 2.12.0 | 2.12.0 | |
camera_web |
- | 0.3.5 | 0.3.5 | |
characters |
- | 1.4.0 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
cross_file |
- | 0.3.5 | 0.3.5 | |
flutter_plugin_android_lifecycle |
- | 2.0.32 | 2.0.32 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.16.0 | 1.17.0 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
stream_transform |
- | 2.1.1 | 2.1.1 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
web |
- | 1.1.1 | 1.1.1 |
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.23.1, Flutter 3.35.7, Dart 3.9.2.
Check the analysis log for details.