Skip to content

feat: Add onComplete callback and a newLineNotifier to TextBoxComponent and ScrollTextBoxComponent #9200

feat: Add onComplete callback and a newLineNotifier to TextBoxComponent and ScrollTextBoxComponent

feat: Add onComplete callback and a newLineNotifier to TextBoxComponent and ScrollTextBoxComponent #9200

Triggered via pull request March 27, 2024 18:38
Status Failure
Total duration 6m 21s
Artifacts

cicd.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 errors, 6 warnings, and 6 notices
markdown-lint
Process completed with exit code 1.
analyze
Dart Analyzer detected problems, see the logs for more information.
analyze-latest
Dart Analyzer detected problems, see the logs for more information.
Use 'const' with the constructor to improve performance.: packages/flame/lib/src/components/scroll_text_box_component.dart#L118
Try adding the 'const' keyword to the constructor invocation. See https://dart.dev/lints/prefer_const_constructors to learn more about this problem.
Use a null-aware invocation of the 'call' method rather than explicitly testing for 'null'.: packages/flame/lib/src/components/scroll_text_box_component.dart#L138
Try using '?.call()' to invoke the function. See https://dart.dev/lints/prefer_null_aware_method_calls to learn more about this problem.
Use a null-aware invocation of the 'call' method rather than explicitly testing for 'null'.: packages/flame/lib/src/components/text_box_component.dart#L308
Try using '?.call()' to invoke the function. See https://dart.dev/lints/prefer_null_aware_method_calls to learn more about this problem.
Use 'const' with the constructor to improve performance.: packages/flame/lib/src/components/scroll_text_box_component.dart#L118
Try adding the 'const' keyword to the constructor invocation. See https://dart.dev/lints/prefer_const_constructors to learn more about this problem.
Use a null-aware invocation of the 'call' method rather than explicitly testing for 'null'.: packages/flame/lib/src/components/scroll_text_box_component.dart#L138
Try using '?.call()' to invoke the function. See https://dart.dev/lints/prefer_null_aware_method_calls to learn more about this problem.
Use a null-aware invocation of the 'call' method rather than explicitly testing for 'null'.: packages/flame/lib/src/components/text_box_component.dart#L308
Try using '?.call()' to invoke the function. See https://dart.dev/lints/prefer_null_aware_method_calls to learn more about this problem.
markdown-lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
format
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
dcm
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, CQLabs/setup-dcm@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
analyze
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, invertase/github-action-dart-analyzer@v2.0.0. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
analyze-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, invertase/github-action-dart-analyzer@v2.0.0. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.