bc_golden_plugin 1.3.1 copy "bc_golden_plugin: ^1.3.1" to clipboard
bc_golden_plugin: ^1.3.1 copied to clipboard

Golden Plugin is a software that enables you to test the UI you develop against a reference image or a design in Figma.

8
likes
140/ 160
pub points
7%
popularity

We analyzed this package 34 hours ago, and awarded it 140 pub points (of a possible 160):

OK
Follow Dart file conventions
30 / 30trigger folding of the section

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.

OK
Provide documentation
20 / 20trigger folding of the section

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

10 out of 21 API elements (47.6 %) have documentation comments.

Some symbols that are missing documentation: bc_golden_plugin, bc_golden_plugin.BcGoldenConfiguration.getGoldenDifferenceThreshold, bc_golden_plugin.BcGoldenConfiguration.getThemeData, bc_golden_plugin.BcGoldenConfiguration.getThemeProvider, bc_golden_plugin.BcGoldenConfiguration.getWillFailOnError.

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

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 does not support platform `Web`.

Because:

  • package:bc_golden_plugin/bc_golden_plugin.dart that declares support for platforms: Android, iOS, Windows, Linux, macOS.

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:bc_golden_plugin/bc_golden_plugin.dart that imports:
  • package:bc_golden_plugin/src/golden_configuration.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

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.

partial
Pass static analysis
40 / 50trigger folding of the section

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

Found 33 issues. Showing the first 2:

INFO: 'textScaleFactor' is deprecated and shouldn't be used. Use textScaler instead. Use of textScaleFactor was deprecated in preparation for the upcoming nonlinear text scaling support. This feature was deprecated after v3.12.0-2.0.pre.

lib/src/helpers/test_base.dart:67:15

   ╷
67 │               textScaleFactor: textScaleFactor,
   │               ^^^^^^^^^^^^^^^
   ╵

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

INFO: 'window' is deprecated and shouldn't be used. Use WidgetTester.platformDispatcher or WidgetTester.view instead. Deprecated to prepare for the upcoming multi-window support. This feature was deprecated after v3.9.0-0.1.pre.

lib/src/helpers/window_configuration.dart:11:13

   ╷
11 │     binding.window.physicalSizeTestValue = windowConfig.physicalSize;
   │             ^^^^^^
   ╵

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

failed
Support up-to-date dependencies
30 / 40trigger folding of the section

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

Package Constraint Compatible Latest
cupertino_icons ^1.0.2 1.0.8 1.0.8
equatable ^2.0.5 2.0.5 2.0.5
file ^6.1.2 6.1.4 7.0.1
flutter flutter 0.0.0 0.0.0
flutter_svg ^2.0.7 2.0.10+1 2.0.10+1
flutter_test flutter 0.0.0 0.0.0
meta ^1.3.0 1.15.0 1.16.0
platform ^3.0.0 3.1.6 3.1.6
provider ^6.1.2 6.1.2 6.1.2
Transitive dependencies
Package Constraint Compatible Latest
args - 2.6.0 2.6.0
async - 2.11.0 2.12.0
boolean_selector - 2.1.1 2.1.1
characters - 1.3.0 1.3.1
clock - 1.1.1 1.1.1
collection - 1.18.0 1.19.0
fake_async - 1.3.1 1.3.2
http - 1.2.2 1.2.2
http_parser - 4.0.2 4.1.1
leak_tracker - 10.0.5 10.0.7
leak_tracker_flutter_testing - 3.0.5 3.0.8
leak_tracker_testing - 3.0.1 3.0.1
matcher - 0.12.16+1 0.12.17
material_color_utilities - 0.11.1 0.12.0
nested - 1.0.0 1.0.0
path - 1.9.0 1.9.1
path_parsing - 1.0.1 1.0.1
petitparser - 6.0.2 6.0.2
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
stack_trace - 1.11.1 1.12.0
stream_channel - 2.1.2 2.1.2
string_scanner - 1.2.0 1.4.0
term_glyph - 1.2.1 1.2.1
test_api - 0.7.2 0.7.3
typed_data - 1.4.0 1.4.0
vector_graphics - 1.1.11+1 1.1.11+1
vector_graphics_codec - 1.1.11+1 1.1.11+1
vector_graphics_compiler - 1.1.11+1 1.1.11+1
vector_math - 2.1.4 2.1.4
vm_service - 14.2.5 14.3.0
web - 1.1.0 1.1.0
xml - 6.5.0 6.5.0

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

The constraint `^6.1.2` on file does not support the stable version `7.0.0`.

Try running dart pub upgrade --major-versions file 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.22.13, Flutter 3.24.3, Dart 3.5.3.

Check the analysis log for details.

8
likes
140
pub points
7%
popularity

Publisher

verified publisherbancolombia.com

Golden Plugin is a software that enables you to test the UI you develop against a reference image or a design in Figma.

Repository (GitHub)
View/report issues
Contributing

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

cupertino_icons, equatable, file, flutter, flutter_svg, flutter_test, meta, platform, provider

More

Packages that depend on bc_golden_plugin