Re-land: Enable prefer_mixin and bump plugin_platform_interface to 2.1.7 (#5841)
This reverts commit https://github.com/flutter/packages/commit/5aef49b1c1d86ed35892aaeeb97d82a3fb3d843c, except for the Flutter version pin, thus re-landing https://github.com/flutter/packages/pull/5793. Now that the tree is fixed, it can be re-landed for auto-publishing.
diff --git a/analysis_options.yaml b/analysis_options.yaml
index a4f3df4..69c2634 100644
--- a/analysis_options.yaml
+++ b/analysis_options.yaml
@@ -164,7 +164,7 @@
- prefer_is_not_empty
- prefer_is_not_operator
- prefer_iterable_whereType
- # - prefer_mixin # DIFFERENT FROM FLUTTER/FLUTTER: enable when v2.1.7 of plugin_platform_interface is the oldest supported version (which makes MockPlatformInterfaceMixin a mixin class)
+ - prefer_mixin
# - prefer_null_aware_method_calls # "call()" is confusing to people new to the language since it's not documented anywhere
- prefer_null_aware_operators
- prefer_relative_imports