feat: Create AttributeBridge #1577
test.yml
on: pull_request
Test
2m 9s
Test Min SDK
2m 9s
Annotations
8 errors, 10 warnings, and 19 notices
'dynamic' doesn't conform to the bound 'SpecAttribute<dynamic>' of the type parameter 'V'.:
packages/remix/lib/src/components/divider/divider_widget.dart#L39
Try using a type that is or is a subclass of 'SpecAttribute<dynamic>'.
See https://dart.dev/diagnostics/type_argument_not_matching_bounds to learn more about this problem.
|
The type 'AttributeBridge' is declared with 2 type parameters, but 1 type arguments were given.:
packages/remix/lib/src/components/divider/divider_widget.dart#L39
Try adjusting the number of type arguments to match the number of type parameters.
See https://dart.dev/diagnostics/wrong_number_of_type_arguments to learn more about this problem.
|
'dynamic' doesn't conform to the bound 'SpecAttribute<dynamic>' of the type parameter 'T'.:
packages/remix/lib/src/components/divider/divider_widget.dart#L39
Try using a type that is or is a subclass of 'SpecAttribute<dynamic>'.
See https://dart.dev/diagnostics/type_argument_not_matching_bounds to learn more about this problem.
|
Test Min SDK
Dart Analyzer detected problems, see the logs for more information.
|
'dynamic' doesn't conform to the bound 'SpecAttribute<dynamic>' of the type parameter 'V'.:
packages/remix/lib/src/components/divider/divider_widget.dart#L39
Try using a type that is or is a subclass of 'SpecAttribute<dynamic>'.
See https://dart.dev/diagnostics/type_argument_not_matching_bounds to learn more about this problem.
|
The type 'AttributeBridge' is declared with 2 type parameters, but 1 type arguments were given.:
packages/remix/lib/src/components/divider/divider_widget.dart#L39
Try adjusting the number of type arguments to match the number of type parameters.
See https://dart.dev/diagnostics/wrong_number_of_type_arguments to learn more about this problem.
|
'dynamic' doesn't conform to the bound 'SpecAttribute<dynamic>' of the type parameter 'T'.:
packages/remix/lib/src/components/divider/divider_widget.dart#L39
Try using a type that is or is a subclass of 'SpecAttribute<dynamic>'.
See https://dart.dev/diagnostics/type_argument_not_matching_bounds to learn more about this problem.
|
Test
Dart Analyzer detected problems, see the logs for more information.
|
Test Min SDK
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Test Min SDK
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Test Min SDK
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Test Min SDK
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, invertase/github-action-dart-analyzer@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Test Min SDK
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, invertase/github-action-dart-analyzer@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, invertase/github-action-dart-analyzer@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, invertase/github-action-dart-analyzer@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
'textScaleFactor' is deprecated and shouldn't be used. Use textScaler instead.:
packages/mix/test/src/specs/text/text_spec_test.dart#L333
Try replacing the use of the deprecated member with the replacement.
See https://dart.dev/diagnostics/deprecated_member_use_from_same_package to learn more about this problem.
|
Don't invoke 'print' in production code.:
packages/mix_generator/lib/src/helpers/helpers.dart#L109
Try using a logging framework.
See https://dart.dev/lints/avoid_print to learn more about this problem.
|
The parameter name 'reader' doesn't match the name 'annotation' in the overridden method.:
packages/mix_generator/lib/src/mixable_class_utility_generator.dart#L56
Try changing the name to 'annotation'.
See https://dart.dev/lints/avoid_renaming_method_parameters to learn more about this problem.
|
The parameter name 'reader' doesn't match the name 'annotation' in the overridden method.:
packages/mix_generator/lib/src/mixable_dto_generator.dart#L61
Try changing the name to 'annotation'.
See https://dart.dev/lints/avoid_renaming_method_parameters to learn more about this problem.
|
The parameter name 'reader' doesn't match the name 'annotation' in the overridden method.:
packages/mix_generator/lib/src/mixable_enum_utility_generator.dart#L48
Try changing the name to 'annotation'.
See https://dart.dev/lints/avoid_renaming_method_parameters to learn more about this problem.
|
The parameter name 'reader' doesn't match the name 'annotation' in the overridden method.:
packages/mix_generator/lib/src/mixable_spec_generator.dart#L36
Try changing the name to 'annotation'.
See https://dart.dev/lints/avoid_renaming_method_parameters to learn more about this problem.
|
Don't invoke 'print' in production code.:
packages/mix_lint/lib/src/assists/extract_attributes.dart#L19
Try using a logging framework.
See https://dart.dev/lints/avoid_print to learn more about this problem.
|
Don't invoke 'print' in production code.:
packages/mix_lint/lib/src/assists/extract_attributes.dart#L58
Try using a logging framework.
See https://dart.dev/lints/avoid_print to learn more about this problem.
|
Empty catch block.:
packages/mix_lint/lib/src/assists/extract_attributes.dart#L136
Try adding statements to the block, adding a comment to the block, or removing the 'catch' clause.
See https://dart.dev/lints/empty_catches to learn more about this problem.
|
Don't use 'BuildContext's across async gaps.:
examples/todo_list/lib/pages/todo_list_page.dart#L70
Try rewriting the code to not use the 'BuildContext', or guard the use with a 'mounted' check.
See https://dart.dev/diagnostics/use_build_context_synchronously to learn more about this problem.
|
'textScaleFactor' is deprecated and shouldn't be used. Use textScaler instead.:
packages/mix/test/src/specs/text/text_spec_test.dart#L333
Try replacing the use of the deprecated member with the replacement.
See https://dart.dev/diagnostics/deprecated_member_use_from_same_package to learn more about this problem.
|
'withNullability' is deprecated and shouldn't be used. Only non-nullable by default mode is supported.:
packages/mix_generator/lib/src/builders/utility_class_builder.dart#L60
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.
|
'withNullability' is deprecated and shouldn't be used. Only non-nullable by default mode is supported.:
packages/mix_generator/lib/src/helpers/builder_utils.dart#L254
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.
|
'withNullability' is deprecated and shouldn't be used. Only non-nullable by default mode is supported.:
packages/mix_generator/lib/src/helpers/field_info.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.
|
'withNullability' is deprecated and shouldn't be used. Only non-nullable by default mode is supported.:
packages/mix_generator/lib/src/helpers/field_info.dart#L179
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.
|
'withNullability' is deprecated and shouldn't be used. Only non-nullable by default mode is supported.:
packages/mix_generator/lib/src/helpers/helpers.dart#L17
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.
|
Don't invoke 'print' in production code.:
packages/mix_generator/lib/src/helpers/helpers.dart#L109
Try using a logging framework.
See https://dart.dev/diagnostics/avoid_print to learn more about this problem.
|
The parameter name 'reader' doesn't match the name 'annotation' in the overridden method.:
packages/mix_generator/lib/src/mixable_class_utility_generator.dart#L56
Try changing the name to 'annotation'.
See https://dart.dev/diagnostics/avoid_renaming_method_parameters to learn more about this problem.
|
The parameter name 'reader' doesn't match the name 'annotation' in the overridden method.:
packages/mix_generator/lib/src/mixable_dto_generator.dart#L61
Try changing the name to 'annotation'.
See https://dart.dev/diagnostics/avoid_renaming_method_parameters to learn more about this problem.
|