widgetbook_test 4.0.0-alpha.3 copy "widgetbook_test: ^4.0.0-alpha.3" to clipboard
widgetbook_test: ^4.0.0-alpha.3 copied to clipboard

Package for golden testing all Widgetbook components.

100/ 160
pub points
13
downloads

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

Passed report section
Follow Dart file conventions
30 / 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

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

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

Detected license: MIT.

Failed report section
Provide documentation
10 / 20trigger folding of the section

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

OUT: Resolving dependencies... Downloading packages...

  • _fe_analyzer_shared 91.0.0 (was 91.0.0) (92.0.0 available)
  • analyzer 8.4.1 (was 8.4.1) (9.0.0 available)
  • args 2.7.0 (was 2.7.0)
  • async 2.13.0 (was 2.13.0)
  • collection 1.19.1 (was 1.19.1)
  • convert 3.1.2 (was 3.1.2)
  • crypto 3.0.7 (was 3.0.7)
  • csslib 1.0.2 (was 1.0.2) [18 more lines] ERR: The current activation of dartdoc cannot resolve to the same set of dependencies.

Try reactivating the package. flutter pub global activate dartdoc Failed to update packages.

Passed check 10/10 points: Package has an example and has no issues with screenshots

Passed 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:widgetbook_test/widgetbook_test.dart that imports:
  • package:widgetbook_test/src/test.dart that imports:
  • package:widgetbook_test/src/scenario_metadata.dart that imports:
  • package:widgetbook/widgetbook.dart that imports:
  • package:widgetbook/src/core/state/state.dart that imports:
  • package:widgetbook/src/core/state/widgetbook_state.dart that imports:
  • package:widgetbook/src/core/routing/routing.dart that imports:
  • package:widgetbook/src/core/routing/app_router_delegate.dart that imports:
  • package:widgetbook/src/core/layout/responsive_layout.dart that imports:
  • package:widgetbook/src/core/navigation/navigation.dart that imports:
  • package:widgetbook/src/core/navigation/tree.dart that imports:
  • package:widgetbook/src/core/framework/framework.dart that imports:
  • package:widgetbook/src/core/framework/story.dart that imports:
  • package:widgetbook/src/core/framework/scenario.dart that imports:
  • package:flutter_test/flutter_test.dart that imports:
  • package:flutter_test/src/widget_tester.dart that imports:
  • package:flutter_test/src/test_text_input.dart that imports:
  • package:flutter_test/src/test_text_input_key_handler.dart that imports:
  • package:flutter_test/src/binding.dart that imports:
  • package:flutter_test/src/platform.dart that imports:
  • dart:io
Failed report section
Pass static analysis
0 / 50trigger folding of the section

Failed check 0/50 points: code has no errors, warnings, lints, or formatting issues

ERROR: The method 'generateScenarioFrom' isn't defined for the type 'Story'.

lib/src/test.dart:35:37

   ╷
35 │       final definedScenario = story.generateScenarioFrom(definition);
   │                                     ^^^^^^^^^^^^^^^^^^^^
   ╵

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

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
crypto ^3.0.0 3.0.7 3.0.7
widgetbook ^4.0.0-alpha.3 4.0.0-alpha.5 4.0.0-alpha.5
Transitive dependencies
Package Constraint Compatible Latest Notes
_fe_analyzer_shared - 92.0.0 92.0.0
analyzer - 9.0.0 9.0.0
args - 2.7.0 2.7.0
async - 2.13.0 2.13.0
boolean_selector - 2.1.2 2.1.2
build - 4.0.3 4.0.3
built_collection - 5.1.1 5.1.1
built_value - 8.12.1 8.12.1
characters - 1.4.0 1.4.1
clock - 1.1.2 1.1.2
code_builder - 4.11.0 4.11.0
collection - 1.19.1 1.19.1
convert - 3.1.2 3.1.2
dart_style - 3.1.3 3.1.3
fake_async - 1.3.3 1.3.3
file - 7.0.1 7.0.1
fixnum - 1.1.1 1.1.1
glob - 2.1.3 2.1.3
leak_tracker - 11.0.2 11.0.2
leak_tracker_flutter_testing - 3.0.10 3.0.10
leak_tracker_testing - 3.0.2 3.0.2
logging - 1.3.0 1.3.0
matcher - 0.12.17 0.12.18
material_color_utilities - 0.11.1 0.13.0
meta - 1.17.0 1.17.0
nested - 1.0.0 1.0.0
package_config - 2.2.0 2.2.0
path - 1.9.1 1.9.1
plugin_platform_interface - 2.1.8 2.1.8
pub_semver - 2.2.0 2.2.0
resizable_widget - 1.0.5 1.0.5
source_gen - 4.1.1 4.1.1
source_span - 1.10.1 1.10.1
stack_trace - 1.12.1 1.12.1
stream_channel - 2.1.4 2.1.4
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
test_api - 0.7.7 0.7.8
typed_data - 1.4.0 1.4.0
url_launcher - 6.3.2 6.3.2
url_launcher_android - 6.3.28 6.3.28
url_launcher_ios - 6.3.6 6.3.6
url_launcher_linux - 3.2.2 3.2.2
url_launcher_macos - 3.2.5 3.2.5
url_launcher_platform_interface - 2.3.2 2.3.2
url_launcher_web - 2.4.1 2.4.1
url_launcher_windows - 3.1.5 3.1.5
vector_math - 2.2.0 2.2.0
vm_service - 15.0.2 15.0.2
watcher - 1.2.0 1.2.0
web - 1.1.1 1.1.1
yaml - 3.1.3 3.1.3

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.3, Flutter 3.38.4, Dart 3.10.3.

Check the analysis log for details.

Weekly downloads

Display as:
By versions: