sm_form 1.0.1
sm_form: ^1.0.1 copied to clipboard
一个功能强大的 Flutter 表单组件库,基于 `hooks_riverpod` 构建,提供完整的表单管理、校验、提交、联动和监听功能。
We analyzed this package 42 hours ago, and awarded it 125 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
The package description contains too many non-ASCII characters.
The site uses English as its primary language. The content of the description field in your package's pubspec.yaml should primarily contain characters used in English.
5/5 points: Provide a valid README.md
0/5 points: Provide a valid CHANGELOG.md
`CHANGELOG.md` contains too many non-ASCII characters.
The site uses English as its primary language. The content of CHANGELOG.md in your package should primarily contain characters used in English.
`CHANGELOG.md` does not contain reference to the current version ("1.0.1").
Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.
10/10 points: Use an OSI-approved license
Detected license: MIT.
10/10 points: 20% or more of the public API has dartdoc comments
160 out of 227 API elements (70.5 %) have documentation comments.
Some symbols that are missing documentation: sm_form, sm_form.CommonValidators.CommonValidators.new, sm_form.DependencyRuleBuilder.DependencyRuleBuilder.new, sm_form.DependencyRuleBuilder.fieldName, sm_form.FormDependencyBuilder.FormDependencyBuilder.new.
10/10 points: Package has an example
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
-
✓ 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.cn/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 4 issues. Showing the first 2:
INFO: Angle brackets will be interpreted as HTML.
lib/src/widgets/sm_form.dart:54:42
╷
54 │ /// 将 FormFieldModel 转换为 FormFieldModel<dynamic>
│ ^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/widgets/sm_form.dart
INFO: 'groupValue' is deprecated and shouldn't be used. Use a RadioGroup ancestor to manage group value instead. This feature was deprecated after v3.32.0-0.0.pre.
lib/src/widgets/sm_form_field.dart:377:19
╷
377 │ groupValue: value,
│ ^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/widgets/sm_form_field.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
flutter_hooks |
^0.20.5 |
0.20.5 | 0.21.3+1 | |
hooks_riverpod |
^2.5.1 |
2.6.1 | 3.1.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
characters |
- | 1.4.0 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
flutter_riverpod |
- | 2.6.1 | 3.1.0 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.17.0 | 1.17.0 | |
path |
- | 1.9.1 | 1.9.1 | |
riverpod |
- | 2.6.1 | 3.1.0 | |
stack_trace |
- | 1.12.1 | 1.12.1 | |
state_notifier |
- | 1.0.0 | 1.0.0 | |
vector_math |
- | 2.2.0 | 2.2.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^0.20.5` on flutter_hooks does not support the stable version `0.21.0`.
Try running dart pub upgrade --major-versions flutter_hooks to update the constraint.
The constraint `^2.5.1` on hooks_riverpod does not support the stable version `3.0.0`.
Try running dart pub upgrade --major-versions hooks_riverpod 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.5, Flutter 3.38.5, Dart 3.10.4.
Check the analysis log for details.