Skip to content

Commit 9544f04

Browse files
Re-land: Enable lints library_private_types_in_public_api, sort_child_properties_last and use_key_in_widget_constructors (#5692)
Re-lands flutter/plugins#5428 This is a revert of flutter/plugins#5691 (the revert of the above) with the following changes: - Excludes the repo tooling changes that had to be added to the revert, since we want those - Fixes local_auth: - Updates code for the new analysis failure - Fixes the bad version merge that dropped the version change - Reverts a version change in `file_selector_platform_interface`, which didn't otherwise change
1 parent 1a124b1 commit 9544f04

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

script/tool/test/util.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -319,14 +319,14 @@ String _pluginPlatformSection(
319319
return entry;
320320
}
321321

322-
typedef _ErrorHandler = void Function(Error error);
322+
typedef ErrorHandler = void Function(Error error);
323323

324324
/// Run the command [runner] with the given [args] and return
325325
/// what was printed.
326326
/// A custom [errorHandler] can be used to handle the runner error as desired without throwing.
327327
Future<List<String>> runCapturingPrint(
328328
CommandRunner<void> runner, List<String> args,
329-
{_ErrorHandler? errorHandler}) async {
329+
{ErrorHandler? errorHandler}) async {
330330
final List<String> prints = <String>[];
331331
final ZoneSpecification spec = ZoneSpecification(
332332
print: (_, __, ___, String message) {

0 commit comments

Comments
 (0)