From a2d7ef3282bd008422e02d74d5bd2a6c5eaae39b Mon Sep 17 00:00:00 2001 From: "leedongmyung[desktop]" Date: Thu, 16 Nov 2023 21:51:00 +0900 Subject: [PATCH] test --- lib/oto/application.dart | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/lib/oto/application.dart b/lib/oto/application.dart index cee669a..7c46025 100644 --- a/lib/oto/application.dart +++ b/lib/oto/application.dart @@ -113,18 +113,19 @@ class Application { } c.complete(); - await printBuildStep('Build Successfully Complete'); + await printBuildStep('Build Successfully Complete', color: Color.magenta); exit(0); } - Future printBuildStep(String name) async { + Future printBuildStep(String name, {Color? color}) async { + var colorIn = color ?? Color.green; await CLI.println( '************************************************************************************', - Color.green); - await CLI.println('* $name', Color.green); + colorIn); + await CLI.println('* $name', colorIn); await CLI.println( '************************************************************************************', - Color.green); + colorIn); return simpleFuture; }