From 75f11650fac66d523e057a092c437fb1396f0d83 Mon Sep 17 00:00:00 2001 From: Daco Harkes Date: Fri, 14 Feb 2025 10:06:07 +0100 Subject: [PATCH] fix formatting --- .../example/build/native_add_library/hook/build.dart | 7 ++++--- .../build/native_dynamic_linking/hook/build.dart | 7 ++++--- .../example/build/use_dart_api/hook/build.dart | 11 ++++++----- 3 files changed, 14 insertions(+), 11 deletions(-) diff --git a/pkgs/native_assets_cli/example/build/native_add_library/hook/build.dart b/pkgs/native_assets_cli/example/build/native_add_library/hook/build.dart index b8ddfd958..aa0b20e70 100644 --- a/pkgs/native_assets_cli/example/build/native_add_library/hook/build.dart +++ b/pkgs/native_assets_cli/example/build/native_add_library/hook/build.dart @@ -17,9 +17,10 @@ void main(List args) async { await cbuilder.run( input: input, output: output, - logger: Logger('') - ..level = Level.ALL - ..onRecord.listen((record) => print(record.message)), + logger: + Logger('') + ..level = Level.ALL + ..onRecord.listen((record) => print(record.message)), ); }); } diff --git a/pkgs/native_assets_cli/example/build/native_dynamic_linking/hook/build.dart b/pkgs/native_assets_cli/example/build/native_dynamic_linking/hook/build.dart index be190b8e8..4b2700fbb 100644 --- a/pkgs/native_assets_cli/example/build/native_dynamic_linking/hook/build.dart +++ b/pkgs/native_assets_cli/example/build/native_dynamic_linking/hook/build.dart @@ -8,9 +8,10 @@ import 'package:native_toolchain_c/native_toolchain_c.dart'; void main(List args) async { await build(args, (input, output) async { - final logger = Logger('') - ..level = Level.ALL - ..onRecord.listen((record) => print(record.message)); + final logger = + Logger('') + ..level = Level.ALL + ..onRecord.listen((record) => print(record.message)); final builders = [ CBuilder.library( diff --git a/pkgs/native_assets_cli/example/build/use_dart_api/hook/build.dart b/pkgs/native_assets_cli/example/build/use_dart_api/hook/build.dart index 56fcdce15..bebee31b2 100644 --- a/pkgs/native_assets_cli/example/build/use_dart_api/hook/build.dart +++ b/pkgs/native_assets_cli/example/build/use_dart_api/hook/build.dart @@ -17,11 +17,12 @@ void main(List arguments) async { await cbuilder.run( input: input, output: output, - logger: Logger('') - ..level = Level.ALL - ..onRecord.listen((record) { - print('${record.level.name}: ${record.time}: ${record.message}'); - }), + logger: + Logger('') + ..level = Level.ALL + ..onRecord.listen((record) { + print('${record.level.name}: ${record.time}: ${record.message}'); + }), ); }); }