dynamic_widget 4.0.5
dynamic_widget: ^4.0.5 copied to clipboard
A Backend-Driven UI toolkit, build your dynamic UI with json, and the json format is very similar with flutter widget code。
We analyzed this package 2 days ago, and awarded it 60 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: Apache-2.0.
10/10 points: 20% or more of the public API has dartdoc comments
187 out of 496 API elements (37.7 %) have documentation comments.
Some symbols that are missing documentation: align_widget_parser, align_widget_parser.AlignWidgetParser, align_widget_parser.AlignWidgetParser.AlignWidgetParser.new, appbar_widget_parser, appbar_widget_parser.AppBarWidgetParser.
10/10 points: Package has an example
0/20 points: Supports 0 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 114 issues. Showing the first 2:
ERROR: The method 'RaisedButton' isn't defined for the type 'RaisedButtonParser'.
lib/dynamic_widget/basic/button_widget_parser.dart:12:24
╷
12 │ var raisedButton = RaisedButton(
│ ^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/dynamic_widget/basic/button_widget_parser.dart
ERROR: The name 'RaisedButton' isn't a type, so it can't be used in an 'as' expression.
lib/dynamic_widget/basic/button_widget_parser.dart:48:32
╷
48 │ var realWidget = widget as RaisedButton;
│ ^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/dynamic_widget/basic/button_widget_parser.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
font_awesome_flutter |
^9.0.0 |
9.2.0 | 11.0.0 | |
http |
^0.13.1 |
0.13.6 | 1.6.0 | |
logging |
^1.0.1 |
1.3.0 | 1.3.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
- | 2.13.1 | 2.13.1 | |
characters |
- | 1.4.1 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
material_color_utilities |
- | 0.13.0 | 0.13.0 | |
meta |
- | 1.18.0 | 1.18.3 | |
path |
- | 1.9.1 | 1.9.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 | |
vector_math |
- | 2.2.0 | 2.4.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^9.0.0` on font_awesome_flutter does not support the stable version `10.0.0`.
Try running dart pub upgrade --major-versions font_awesome_flutter to update the constraint.
The constraint `^0.13.1` on http does not support the stable version `1.0.0`.
Try running dart pub upgrade --major-versions http 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 11 errors:
UNDEFINED_METHOD-lib/dynamic_widget/basic/button_widget_parser.dart:12:24- The method 'RaisedButton' isn't defined for the type 'RaisedButtonParser'.CAST_TO_NON_TYPE-lib/dynamic_widget/basic/button_widget_parser.dart:48:32- The name 'RaisedButton' isn't a type, so it can't be used in an 'as' expression.UNDEFINED_IDENTIFIER-lib/dynamic_widget/basic/button_widget_parser.dart:78:26- Undefined name 'RaisedButton'.
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.12, Flutter 3.44.1, Dart 3.12.1.
Check the analysis log for details.