super_validation 0.1.47 super_validation: ^0.1.47 copied to clipboard
Validation For bloc
We analyzed this package 5 days ago, and awarded it 110 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 60 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
.
10/10 points: 20% or more of the public API has dartdoc comments
233 out of 490 API elements (47.6 %) have documentation comments.
Some symbols that are missing documentation: drop_down_enum_field
, drop_down_enum_field.DropDownEnumField
, drop_down_enum_field.DropDownEnumField.DropDownEnumField
, drop_down_enum_field.DropDownEnumField.alignment
, drop_down_enum_field.DropDownEnumField.autofocus
.
10/10 points: Package has 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:super_validation/super_validation.dart
that imports:package:super_validation/type_ahead_field.dart
that imports:package:flutter_typeahead/flutter_typeahead.dart
that imports:package:flutter_typeahead/src/cupertino/suggestions_box/cupertino_suggestions_box.dart
that imports:package:flutter_typeahead/src/cupertino/field/cupertino_typeahead_field.dart
that imports:package:flutter_typeahead/src/utils.dart
that imports:dart:io
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 60 issues. Showing the first 2:
INFO: 'ToolbarOptions' is deprecated and shouldn't be used. Use `contextMenuBuilder` instead. This feature was deprecated after v3.3.0-0.5.pre.
lib/text_field_listener.dart:38:5
╷
38 │ ToolbarOptions? toolbarOptions,
│ ^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/text_field_listener.dart
INFO: 'ToolbarOptions' is deprecated and shouldn't be used. Use `contextMenuBuilder` instead. This feature was deprecated after v3.3.0-0.5.pre.
lib/text_field_listener.dart:94:29
╷
94 │ ? const ToolbarOptions()
│ ^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/text_field_listener.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
async |
^2.9.0 |
2.11.0 | 2.11.0 |
equatable |
^2.0.5 |
2.0.5 | 2.0.5 |
flutter |
flutter |
0.0.0 | 0.0.0 |
flutter_typeahead |
^4.3.4 |
4.8.0 | 5.2.0 |
meta |
^1.8.0 |
1.12.0 | 1.15.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
characters |
- | 1.3.0 | 1.3.0 |
collection |
- | 1.18.0 | 1.19.0 |
flutter_keyboard_visibility |
- | 5.4.1 | 6.0.0 |
flutter_keyboard_visibility_linux |
- | 1.0.0 | 1.0.0 |
flutter_keyboard_visibility_macos |
- | 1.0.0 | 1.0.0 |
flutter_keyboard_visibility_platform_interface |
- | 2.0.0 | 2.0.0 |
flutter_keyboard_visibility_web |
- | 2.0.0 | 2.0.0 |
flutter_keyboard_visibility_windows |
- | 1.0.0 | 1.0.0 |
flutter_web_plugins |
- | 0.0.0 | 0.0.0 |
material_color_utilities |
- | 0.8.0 | 0.12.0 |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 |
pointer_interceptor |
- | 0.9.3+7 | 0.10.1+1 |
sky_engine |
- | 0.0.99 | 0.0.99 |
vector_math |
- | 2.1.4 | 2.1.4 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^4.3.4` on flutter_typeahead does not support the stable version `5.0.0`.
Try running dart pub upgrade --major-versions flutter_typeahead
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:
UNDEFINED_CLASS
-lib/type_ahead_field.dart:26:9
- Undefined class 'SuggestionsBoxDecoration'.CREATION_WITH_NON_TYPE
-lib/type_ahead_field.dart:63:45
- The name 'SuggestionsBoxDecoration' isn't a class.
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.22.7
, Flutter 3.22.2
, Dart 3.4.3
.
Check the analysis log for details.