afib 0.5.2
afib: ^0.5.2 copied to clipboard
Beta framework for flutter.
We analyzed this package 15 days ago, and awarded it 50 pub points (of a possible 160):
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.
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.
0/10 points: 20% or more of the public API has dartdoc comments
743 out of 4287 API elements (17.3 %) have documentation comments.
Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.
To highlight public API members missing documentation consider enabling the public_member_api_docs lint.
Some symbols that are missing documentation: afib_command.AFArgs.AFArgs.new, afib_command.AFArgs.addArg, afib_command.AFArgs.args, afib_command.AFArgs.listFrom, afib_command.AFArgs.reviseAddArg.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
These platforms are not supported:
Package not compatible with platform Web
Because:
package:afib/afib_command.dartthat imports:package:afib/src/dart/utils/af_dart_params.dartthat imports:package:logger/logger.dartthat imports:package:logger/src/outputs/advanced_file_output_stub.dartthat imports:dart:io
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:afib/afib_flutter.dartthat imports:package:afib/src/dart/redux/queries/af_app_platform_info_query.dartthat imports:package:package_info_plus/package_info_plus.dartthat imports:package:package_info_plus/src/package_info_plus_windows.dartthat imports:package:package_info_plus/src/file_version_info.dartthat imports:package:win32/win32.dartthat declares support for platforms:Windows.
Package does not support platform `iOS`.
Because:
package:afib/afib_flutter.dartthat imports:package:afib/src/dart/redux/queries/af_app_platform_info_query.dartthat imports:package:package_info_plus/package_info_plus.dartthat imports:package:package_info_plus/src/package_info_plus_windows.dartthat imports:package:package_info_plus/src/file_version_info.dartthat imports:package:win32/win32.dartthat declares support for platforms:Windows.
Package does not support platform `Linux`.
Because:
package:afib/afib_flutter.dartthat imports:package:afib/src/dart/redux/queries/af_app_platform_info_query.dartthat imports:package:package_info_plus/package_info_plus.dartthat imports:package:package_info_plus/src/package_info_plus_windows.dartthat imports:package:package_info_plus/src/file_version_info.dartthat imports:package:win32/win32.dartthat declares support for platforms:Windows.
Package does not support platform `macOS`.
Because:
package:afib/afib_flutter.dartthat imports:package:afib/src/dart/redux/queries/af_app_platform_info_query.dartthat imports:package:package_info_plus/package_info_plus.dartthat imports:package:package_info_plus/src/package_info_plus_windows.dartthat imports:package:package_info_plus/src/file_version_info.dartthat imports:package:win32/win32.dartthat declares support for platforms:Windows.
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 105 issues. Showing the first 2:
ERROR: The method 'PersistentBottomSheetController Function(WidgetBuilder, {Color? backgroundColor, Clip? clipBehavior, BoxConstraints? constraints, double? elevation, bool? enableDrag, ShapeBorder? shape, AnimationStyle? sheetAnimationStyle, bool? showDragHandle, AnimationController? transitionAnimationController})' is declared with 0 type parameters, but 1 type arguments are given.
lib/src/flutter/utils/af_api_mixins.dart:938:48
╷
938 │ material.Scaffold.of(ctx).showBottomSheet<dynamic>(
│ ^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/flutter/utils/af_api_mixins.dart
ERROR: The method 'isSelectionWithinTextBounds' isn't defined for the type 'TextEditingController'.
lib/src/flutter/utils/af_param_ui_state_holder.dart:26:20
╷
26 │ if(!controller.isSelectionWithinTextBounds(sel)) {
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/flutter/utils/af_param_ui_state_holder.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
args |
^2.4.2 |
2.7.0 | 2.7.0 | |
collection |
^1.17.1 |
1.19.1 | 1.19.1 | |
colorize |
^3.0.0 |
3.0.0 | 3.0.0 | |
flutter_redux |
^0.10.0 |
0.10.0 | 0.10.0 | |
intl |
^0.18.1 |
0.18.1 | 0.20.2 | |
logger |
^2.0.1 |
2.6.2 | 2.6.2 | |
meta |
^1.9.1 |
1.17.0 | 1.17.0 | |
overlay_support |
^2.1.0 |
2.1.0 | 2.1.0 | |
package_info_plus |
^4.1.0 |
4.2.0 | 9.0.0 | |
path |
^1.8.3 |
1.9.1 | 1.9.1 | |
plural_noun |
^0.1.2 |
0.1.2 | 0.2.1 | |
pubspec_parse |
^1.2.3 |
1.5.0 | 1.5.0 | |
quiver |
^3.2.1 |
3.2.2 | 3.2.2 | |
redux |
^5.0.0 |
5.0.0 | 5.0.0 | |
stack_trace |
^1.11.0 |
1.12.1 | 1.12.1 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
- | 2.13.0 | 2.13.0 | |
boolean_selector |
- | 2.1.2 | 2.1.2 | |
characters |
- | 1.4.0 | 1.4.1 | |
checked_yaml |
- | 2.0.4 | 2.0.4 | |
clock |
- | 1.1.2 | 1.1.2 | |
fake_async |
- | 1.3.3 | 1.3.3 | |
ffi |
- | 2.1.4 | 2.1.4 | |
http |
- | 1.6.0 | 1.6.0 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
json_annotation |
- | 4.9.0 | 4.9.0 | |
leak_tracker |
- | 11.0.2 | 11.0.2 | |
leak_tracker_flutter_testing |
- | 3.0.10 | 3.0.10 | |
leak_tracker_testing |
- | 3.0.2 | 3.0.2 | |
matcher |
- | 0.12.17 | 0.12.18 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
package_info_plus_platform_interface |
- | 2.0.1 | 3.2.1 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
pub_semver |
- | 2.2.0 | 2.2.0 | |
source_span |
- | 1.10.1 | 1.10.1 | |
stream_channel |
- | 2.1.4 | 2.1.4 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
test_api |
- | 0.7.7 | 0.7.8 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
vm_service |
- | 15.0.2 | 15.0.2 | |
web |
- | 1.1.1 | 1.1.1 | |
win32 |
- | 5.15.0 | 5.15.0 | |
yaml |
- | 3.1.3 | 3.1.3 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
Found 3 issues. Showing the first 2:
The constraint `^0.18.1` on intl does not support the stable version `0.19.0`.
Try running dart pub upgrade --major-versions intl to update the constraint.
The constraint `^4.1.0` on package_info_plus does not support the stable version `5.0.0`.
Try running dart pub upgrade --major-versions package_info_plus 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 2 errors:
WRONG_NUMBER_OF_TYPE_ARGUMENTS_METHOD-lib/src/flutter/utils/af_api_mixins.dart:938:48- The method 'PersistentBottomSheetController Function(WidgetBuilder, {Color? backgroundColor, Clip? clipBehavior, BoxConstraints? constraints, double? elevation, bool? enableDrag, ShapeBorder? shape, AnimationStyle? sheetAnimationStyle, bool? showDragHandle, AnimationController? transitionAnimationController})' is declared with 0 type parameters, but 1 type arguments are given.UNDEFINED_METHOD-lib/src/flutter/utils/af_param_ui_state_holder.dart:26:20- The method 'isSelectionWithinTextBounds' isn't defined for the type 'TextEditingController'.
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.3, Flutter 3.38.4, Dart 3.10.3.
Check the analysis log for details.