schema_widget 1.0.0

The schema_widget flutter package is a widget generator based on JSON parsers capable of producing complex screens and using custom business rules.

4
likes
60 / 110
pub points
17 %
popularity

We analyzed this package on Oct 22, 2020, and awarded it 60 pub points (of a possible 110):

Follow Dart file conventions
20 / 20

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

Provide documentation
20 / 20

10/10 points: Package has an example

  • Found example at: example/lib/main.dart

10/10 points: 20% or more of the public API has dartdoc comments

  • 672 out of 866 API elements (77.6 %) have documentation comments.
Support multiple platforms
10 / 20

10/20 points: Supports 2 of 3 possible platforms (iOS, Android, Web)

Consider supporting multiple platforms:

Package does not support Flutter platform Web

Because:

  • package:schema_widget/schema_widget.dart that imports:
  • package:schema_widget/resolver/base_cache_manager_json_schema_resolver.dart that imports:
  • package:path_provider/path_provider.dart that declares support for platforms: Android, iOS, Windows, Linux, macOS

Consider supporting these prerelease platforms:

Package does not support Flutter platform Windows

Because:

  • package:schema_widget/schema_widget.dart that imports:
  • package:schema_widget/resolver/base_cache_manager_json_schema_resolver.dart that imports:
  • package:path_provider/path_provider.dart that imports:
  • package:path_provider_linux/path_provider_linux.dart that declares support for platforms: Linux
Package does not support Flutter platform Linux

Because:

  • package:schema_widget/schema_widget.dart that imports:
  • package:schema_widget/resolver/base_cache_manager_json_schema_resolver.dart that imports:
  • package:path_provider/path_provider.dart that imports:
  • package:path_provider_windows/path_provider_windows.dart that declares support for platforms: Windows

These issues are present but do not affect the score, because they may not originate in your package:

Package does not support Flutter platform Android

Because:

  • package:schema_widget/schema_widget.dart that imports:
  • package:schema_widget/resolver/base_cache_manager_json_schema_resolver.dart that imports:
  • package:path_provider/path_provider.dart that imports:
  • package:path_provider_windows/path_provider_windows.dart that declares support for platforms: Windows
Package does not support Flutter platform iOS

Because:

  • package:schema_widget/schema_widget.dart that imports:
  • package:schema_widget/resolver/base_cache_manager_json_schema_resolver.dart that imports:
  • package:path_provider/path_provider.dart that imports:
  • package:path_provider_windows/path_provider_windows.dart that declares support for platforms: Windows
Package does not support Flutter platform macOS

Because:

  • package:schema_widget/schema_widget.dart that imports:
  • package:schema_widget/resolver/base_cache_manager_json_schema_resolver.dart that imports:
  • package:path_provider/path_provider.dart that imports:
  • package:path_provider_windows/path_provider_windows.dart that declares support for platforms: Windows
Pass static analysis
0 / 30

0/30 points: code has no errors, warnings, lints, or formatting issues

ERROR: The named parameter 'darkColor' isn't defined.

lib/parser/type/flutter_logo_decoration_schema_parser.dart:41:7

   ╷
41 │       darkColor: SchemaWidget.parse<Color>(
   │       ^^^^^^^^^
   ╵

To reproduce make sure you are using pedantic and run flutter analyze lib/parser/type/flutter_logo_decoration_schema_parser.dart

ERROR: The named parameter 'lightColor' isn't defined.

lib/parser/type/flutter_logo_decoration_schema_parser.dart:43:7

   ╷
43 │       lightColor: SchemaWidget.parse<Color>(
   │       ^^^^^^^^^^
   ╵

To reproduce make sure you are using pedantic and run flutter analyze lib/parser/type/flutter_logo_decoration_schema_parser.dart

Support up-to-date dependencies
10 / 20

0/10 points: All of the package dependencies are supported in the latest version

PackageConstraintCompatibleLatest
analyzer<=0.39.140.39.140.40.4
build^1.3.01.5.01.5.0
flutterflutter0.0.00.0.0
flutter_cache_manager^1.4.11.4.22.0.0
get_it^4.0.44.0.45.0.1
glob^1.2.01.2.01.2.0
http^0.12.20.12.20.12.2
json_schema^2.2.12.2.12.2.1
logging^0.11.40.11.40.11.4
path^1.7.01.7.01.8.0-nullsafety.1
path_provider^1.6.141.6.211.6.21
rxdart^0.24.10.24.10.24.1
source_gen^0.9.60.9.7+10.9.7+1
Transitive dependencies
PackageConstraintCompatibleLatest
_fe_analyzer_shared-6.0.011.0.0
args-1.6.01.6.0
async-2.4.22.5.0-nullsafety.1
characters-1.1.0-nullsafety.31.1.0-nullsafety.3
charcode-1.1.31.2.0-nullsafety.1
cli_repl-0.2.0+10.2.0+1
cli_util-0.1.40.2.0
clock-1.0.11.1.0-nullsafety.1
collection-1.15.0-nullsafety.31.15.0-nullsafety.3
colorize-2.0.02.0.0
convert-2.1.12.1.1
crypto-2.1.52.1.5
csslib-0.16.20.16.2
dart2_constant-1.0.2+dart21.0.2+dart2
dart_style-1.3.61.3.8
ffi-0.1.30.1.3
file-5.2.16.0.0-nullsafety.2
fluri-1.3.01.3.0
html-0.14.0+40.14.0+4
http_parser-3.1.43.1.4
intl-0.16.10.16.1
js-0.6.20.6.3-nullsafety.1
matcher-0.12.90.12.10-nullsafety.1
meta-1.3.0-nullsafety.31.3.0-nullsafety.4
mime-0.9.70.9.7
node_interop-1.1.11.1.1
node_io-1.1.11.1.1
package_config-1.9.31.9.3
package_resolver-1.0.101.0.10
path_provider_linux-0.0.1+20.0.1+2
path_provider_macos-0.0.4+40.0.4+4
path_provider_platform_interface-1.0.31.0.3
path_provider_windows-0.0.4+10.0.4+1
pedantic-1.9.21.10.0-nullsafety.1
platform-2.2.13.0.0-nullsafety.2
plugin_platform_interface-1.0.31.0.3
process-3.0.134.0.0-nullsafety.2
pub_semver-1.4.41.4.4
quiver-2.1.32.1.3
sass-1.27.01.27.0
sky_engine-0.0.990.0.99
sockjs_client-0.3.50.3.5
sockjs_client_wrapper-1.0.141.0.14
source_maps-0.10.90.10.10-nullsafety.1
source_span-1.7.01.8.0-nullsafety.2
sqflite-1.3.1+21.3.1+2
sqflite_common-1.0.2+11.0.2+1
stack_trace-1.9.51.10.0-nullsafety.4
stream_transform-1.2.01.2.0
string_scanner-1.0.51.1.0-nullsafety.1
synchronized-2.2.0+22.2.0+2
term_glyph-1.1.01.2.0-nullsafety.1
tuple-1.0.31.0.3
typed_data-1.3.0-nullsafety.31.3.0-nullsafety.3
uri-0.11.3+10.11.3+1
utf-0.9.0+50.9.0+5
uuid-2.2.22.2.2
vector_math-2.1.0-nullsafety.32.1.0-nullsafety.3
w_common-1.20.31.20.3
w_transport-3.2.83.2.8
watcher-0.9.7+150.9.7+15
win32-1.7.31.7.3
xdg_directories-0.1.20.1.2
yaml-2.2.12.2.1

To reproduce run pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

Found 3 issues. Showing the first 2:

The constraint `<=0.39.14` on analyzer does not support the latest published version `0.40.4`

pubspec.yaml:27:13

   ╷
27 │   analyzer: "<=0.39.14"
   │             ^^^^^^^^^^^
   ╵
The constraint `^1.4.1` on flutter_cache_manager does not support the latest published version `2.0.0`

pubspec.yaml:25:26

   ╷
25 │   flutter_cache_manager: ^1.4.1
   │                          ^^^^^^
   ╵

10/10 points: Package supports latest stable Dart and Flutter SDKs

4
likes
60
pub points
17%
popularity

Publisher

legytma.com.br

The schema_widget flutter package is a widget generator based on JSON parsers capable of producing complex screens and using custom business rules.

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache 2.0 (LICENSE)

Dependencies

analyzer, build, flutter, flutter_cache_manager, get_it, glob, http, json_schema, logging, path, path_provider, rxdart, source_gen

More

Packages that depend on schema_widget