flutter_a11y_lints 0.4.0
flutter_a11y_lints: ^0.4.0 copied to clipboard
Semantic IR-based accessibility analyzer for Flutter applications.
We analyzed this package 2 days ago, and awarded it 120 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: MIT.
0/10 points: 20% or more of the public API has dartdoc comments
64 out of 351 API elements (18.2 %) 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: flutter_a11y_lints.A01UnlabeledInteractive.A01UnlabeledInteractive.new, flutter_a11y_lints.A01UnlabeledInteractive.code, flutter_a11y_lints.A01UnlabeledInteractive.correctionMessage, flutter_a11y_lints.A01UnlabeledInteractive.message, flutter_a11y_lints.A01Violation.
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:flutter_a11y_lints/flutter_a11y_lints.dartthat imports:package:flutter_a11y_lints/src/utils/method_utils.dartthat imports:package:analyzer/dart/ast/visitor.dartthat imports:package:analyzer/dart/ast/ast.dartthat imports:package:analyzer/src/dart/ast/ast.dartthat imports:package:analyzer/src/lint/constants.dartthat imports:package:analyzer/src/error/codes.dartthat imports:package:analyzer/dart/element/type.dartthat imports:package:analyzer/src/dart/element/type.dartthat imports:package:analyzer/src/utilities/extensions/element.dartthat imports:package:analyzer/src/dart/element/member.dartthat imports:package:analyzer/src/generated/utilities_dart.dartthat imports:package:analyzer/src/dart/element/element.dartthat imports:package:analyzer/src/summary2/linked_element_factory.dartthat imports:package:analyzer/src/summary2/export.dartthat imports:package:analyzer/src/summary2/library_builder.dartthat imports:package:analyzer/src/summary2/types_builder.dartthat imports:package:analyzer/src/summary2/link.dartthat imports:package:analyzer/src/summary2/variance_builder.dartthat imports:package:analyzer/src/summary2/record_type_builder.dartthat imports:package:analyzer/src/dart/element/type_visitor.dartthat imports:package:analyzer/src/summary2/named_type_builder.dartthat imports:package:analyzer/src/dart/element/type_system.dartthat imports:package:analyzer/src/generated/inference_log.dartthat imports:package:analyzer/src/generated/resolver.dartthat imports:package:analyzer/src/util/ast_data_extractor.dartthat imports:package:analyzer/dart/element/element.dartthat imports:package:analyzer/src/dart/resolver/scope.dartthat imports:package:analyzer/src/generated/engine.dartthat imports:package:analyzer/src/dart/analysis/analysis_options.dartthat imports:package:analyzer/src/lint/registry.dartthat imports:package:analyzer/src/analysis_rule/rule_context.dartthat imports:package:analyzer/analysis_rule/analysis_rule.dartthat imports:package:analyzer/src/lint/pub.dartthat imports:package:analyzer/source/file_source.dartthat imports:package:analyzer/file_system/file_system.dartthat imports:package:watcher/watcher.dartthat imports:package:watcher/src/file_watcher/polling.dartthat imports:package:watcher/src/polling.dartthat imports:dart:io
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 3 issues. Showing the first 2:
INFO: Unnecessary braces in a string interpolation.
lib/src/rules/a11_minimum_tap_target_size.dart:122:96
╷
122 │ '${node.widgetType} has literal tap container ${container.widgetType} with size ${width}x${height} (<44)';
│ ^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/rules/a11_minimum_tap_target_size.dart
INFO: Unnecessary braces in a string interpolation.
lib/src/rules/a24_exclude_visual_only_indicators.dart:55:13
╷
55 │ 'Icon ${iconName} should be excluded from semantics when purely visual.';
│ ^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/rules/a24_exclude_visual_only_indicators.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
analyzer |
^9.0.0 |
9.0.0 | 14.7.0 | |
collection |
^1.18.0 |
1.19.1 | 1.19.1 | |
meta |
^1.17.0 |
1.19.0 | 1.19.0 | |
path |
^1.9.0 |
1.9.1 | 1.9.1 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
_fe_analyzer_shared |
- | 92.0.0 | 111.0.0 | |
async |
- | 2.13.1 | 2.13.1 | |
convert |
- | 3.1.2 | 3.1.2 | |
crypto |
- | 3.0.8 | 3.0.8 | |
file |
- | 7.0.1 | 7.0.1 | |
glob |
- | 2.2.0 | 2.2.0 | |
package_config |
- | 2.2.0 | 3.0.0 | |
pub_semver |
- | 2.2.1 | 2.2.1 | |
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 | |
watcher |
- | 1.2.1 | 1.2.1 | |
yaml |
- | 3.1.4 | 3.1.4 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^9.0.0` on analyzer does not support the stable version `10.0.0`.
Try running dart pub upgrade --major-versions analyzer to update the constraint.
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.19, Dart 3.14.0.
Check the analysis log for details.