这是indexloc提供的服务,不要输入任何密码

widget_driver 1.0.12 copy "widget_driver: ^1.0.12" to clipboard
widget_driver: ^1.0.12 copied to clipboard

A Flutter presentation layer framework, which will clean up your widget code and make your widgets testable without a need for thousands of mock objects. Let's go driving!

145/ 160
pub points
77
downloads

We analyzed this package 6 days ago, and awarded it 145 pub points (of a possible 160):

Failed report section
Follow Dart file conventions
25 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Failed check 0/5 points: Provide a valid CHANGELOG.md

`CHANGELOG.md` does not contain reference to the current version ("1.0.12").

Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Passed report section
Provide documentation
20 / 20trigger folding of the section

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

55 out of 86 API elements (64.0 %) have documentation comments.

Some symbols that are missing documentation: widget_driver, widget_driver.AlwaysUseRealDriversTestConfig.AlwaysUseRealDriversTestConfig.new, widget_driver.AlwaysUseRealDriversTestConfig.useTestDriver, widget_driver.BuildContext.BuildContext.new, widget_driver.DependencyResolver.DependencyResolver.new.

Passed check 10/10 points: Package has an example

Failed report section
Platform support
20 / 20trigger folding of the section

Passed check 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:widget_driver/widget_driver.dart that imports:
  • package:widget_driver/src/dependency_resolver.dart that imports:
  • package:widget_driver/src/utils/runtime_environment_info.dart that imports:
  • package:widget_driver/src/utils/platform_environment.dart that imports:
  • dart:io

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:widget_driver/widget_driver.dart that imports:
  • package:widget_driver/src/dependency_resolver.dart that imports:
  • package:widget_driver/src/utils/runtime_environment_info.dart that imports:
  • package:widget_driver/src/utils/platform_environment.dart that imports:
  • dart:io

This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 40/50 points: code has no errors, warnings, lints, or formatting issues

Found 5 issues. Showing the first 2:

INFO: Angle brackets will be interpreted as HTML.

lib/src/utils/platform_environment.dart:13:72

   ╷
13 │ /// A callback which provides the current runtime environment as a 'Map<String, String>'
   │                                                                        ^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/utils/platform_environment.dart

/tmp/pana_ZTIQBO/lib/src/dependency_resolver.dart doesn't match the Dart formatter.

To format your files run: dart format .

Passed report section
Support up-to-date dependencies
40 / 40trigger folding of the section

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

Package Constraint Compatible Latest Notes
meta ^1.7.0 1.17.0 1.17.0
widget_driver_annotation ^1.0.2 1.0.3 1.0.3
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.0 1.4.1
collection - 1.19.1 1.19.1
material_color_utilities - 0.11.1 0.13.0
vector_math - 2.2.0 2.2.0

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

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

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.23.1, Flutter 3.38.0, Dart 3.10.0-290.4.beta.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
19
likes
145
points
77
downloads

Publisher

verified publisherbmwtech.dev

Weekly Downloads

A Flutter presentation layer framework, which will clean up your widget code and make your widgets testable without a need for thousands of mock objects. Let's go driving!

Repository (GitHub)
View/report issues
Contributing

Documentation

API reference

License

MIT (license)

Dependencies

flutter, meta, widget_driver_annotation

More

Packages that depend on widget_driver