conceptadev / conceptadev/mix

'BoxShadowListMixRef' can't be assigned to the parameter type 'List<BoxShadowMix>'

Open
#925 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Dart
Stars
800
Forks
49
Avg merge
3h 39m
Merged PRs (30d)
22

Description

### Package version

_No response_

### Flutter version

```
final token = BoxShadowToken('effect');
BoxStyler().boxShadows(token.mix());
```

Then we found that an error.
```
The argument type 'BoxShadowListMixRef' can't be assigned to the parameter type 'List'. dart[argument_type_not_assignable](https://dart.dev/diagnostics/argument_type_not_assignable)
```

### Steps to reproduce

```
final token = BoxShadowToken('effect');
BoxStyler().boxShadows(token.mix());
```

### Expected results

Could be ok.

### Actual results

Then we found that an error.
```
The argument type 'BoxShadowListMixRef' can't be assigned to the parameter type 'List'. dart[argument_type_not_assignable](https://dart.dev/diagnostics/argument_type_not_assignable)
```

### Code sample

Code sample

```dart
final token = BoxShadowToken('effect');
BoxStyler().boxShadows(token.mix());
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.