[various] Sync lints with flutter/flutter (#5717)

Applying the latest analysis_options.yaml from flutter/flutter to this
repo. Most fixes were auto-generated by `dart fix`.
This commit is contained in:
Michael Goderbauer
2024-01-03 15:16:49 -08:00
committed by GitHub
parent 6b2249f152
commit bb97da8ec6
282 changed files with 527 additions and 947 deletions

View File

@ -329,8 +329,8 @@ String _pluginPlatformSection(
Future<List<String>> runCapturingPrint(
CommandRunner<void> runner,
List<String> args, {
Function(Error error)? errorHandler,
Function(Exception error)? exceptionHandler,
void Function(Error error)? errorHandler,
void Function(Exception error)? exceptionHandler,
}) async {
final List<String> prints = <String>[];
final ZoneSpecification spec = ZoneSpecification(