dart-lang / mockito

Mockito-inspired mock library for Dart
https://pub.dev/packages/mockito
Apache License 2.0
632 stars 162 forks source link

Change default dummy value for `String` to contain some info #696

Closed copybara-service[bot] closed 12 months ago

copybara-service[bot] commented 1 year ago

Change default dummy value for String to contain some info

yanok commented 1 year ago

Regarding the failed CI: I know what is happening, it would require some more conditionals to support Dart 2 properly. @natebosch Could we drop Dart 2 support in future versions already or would it be too aggresive? Is there some backward compatibility policy?

natebosch commented 1 year ago

Is there some backward compatibility policy?

There is no official policy, or documented unofficial policy. From experience, different Dart and Flutter team authors have different preferences on the importance of maintaining support for non-current SDKs. In general the Dart ecosystem owned packages lean towards dropping support for older SDKs whenever it would be helpful.

I don't think there is any problem with dropping support for Dart 2 in this package.