Skip to content

docs: Fix broken code example for ColorEffect #9918

docs: Fix broken code example for ColorEffect

docs: Fix broken code example for ColorEffect #9918

Triggered via pull request December 12, 2024 00:13
Status Failure
Total duration 7m 42s
Artifacts

cicd.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

7 errors, 6 warnings, and 10 notices
The argument type 'Color' can't be assigned to the parameter type 'Vector4?'. : packages/flame_3d/lib/src/graphics/graphics_device.dart#L180
See https://dart.dev/diagnostics/argument_type_not_assignable to learn more about this problem.
analyze-latest
Dart Analyzer detected problems, see the logs for more information.
test
1448 tests passed, 12 failed.
test
0 tests passed, 5 failed.
test
4 tests passed, 1 failed.
test
79 tests passed, 1 failed.
test
Process completed with exit code 1.
markdown-lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
format
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
dcm
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
analyze
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
analyze-latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss.: doc/flame/examples/lib/drag_events.dart#L130
Try replacing the use of the deprecated member with the replacement. See https://dart.dev/diagnostics/deprecated_member_use to learn more about this problem.
'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss.: doc/flame/examples/lib/drag_events.dart#L219
Try replacing the use of the deprecated member with the replacement. See https://dart.dev/diagnostics/deprecated_member_use to learn more about this problem.
'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss.: doc/flame/examples/lib/drag_events.dart#L223
Try replacing the use of the deprecated member with the replacement. See https://dart.dev/diagnostics/deprecated_member_use to learn more about this problem.
'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss.: doc/flame/examples/lib/pointer_events.dart#L35
Try replacing the use of the deprecated member with the replacement. See https://dart.dev/diagnostics/deprecated_member_use to learn more about this problem.
'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss.: doc/flame/examples/lib/pointer_events.dart#L44
Try replacing the use of the deprecated member with the replacement. See https://dart.dev/diagnostics/deprecated_member_use to learn more about this problem.
'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss.: doc/flame/examples/lib/pointer_events.dart#L49
Try replacing the use of the deprecated member with the replacement. See https://dart.dev/diagnostics/deprecated_member_use to learn more about this problem.
'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss.: doc/flame/examples/lib/ray_cast.dart#L16
Try replacing the use of the deprecated member with the replacement. See https://dart.dev/diagnostics/deprecated_member_use to learn more about this problem.
'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss.: doc/flame/examples/lib/ray_trace.dart#L13
Try replacing the use of the deprecated member with the replacement. See https://dart.dev/diagnostics/deprecated_member_use to learn more about this problem.
'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss.: doc/flame/examples/lib/tap_events.dart#L118
Try replacing the use of the deprecated member with the replacement. See https://dart.dev/diagnostics/deprecated_member_use to learn more about this problem.
'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss.: examples/games/padracing/lib/lap_line.dart#L34
Try replacing the use of the deprecated member with the replacement. See https://dart.dev/diagnostics/deprecated_member_use to learn more about this problem.