Adjust ignores for 'dart format' (#160382)

When running `dart format` over these lines the `// ignore` ended up on
a line where it wasn't properly ignoring the lint. This adjusts the
placement of `// ignore`s so they will continue to ignore the right
thing even after the code is auto formatted.

I am hoping that if we do this now the large PR that formats the entire
repo will go in smoother without manual intervention.
This commit is contained in:
Michael Goderbauer
2024-12-16 14:01:25 -08:00
committed by GitHub
parent 6159f2eef6
commit 8fee7cb832
30 changed files with 250 additions and 135 deletions

View File

@@ -65,7 +65,8 @@ class PluginEventChannel<T> {
'Replace calls to the "controller" setter with calls to the "setController" method. '
'This feature was deprecated after v1.23.0-7.0.pre.'
)
set controller(StreamController<T> controller) { // ignore: avoid_setters_without_getters
// ignore: avoid_setters_without_getters
set controller(StreamController<T> controller) {
setController(controller);
}