From 2ed565d94c57dc9e0ec11c69bbabb2d13e436c08 Mon Sep 17 00:00:00 2001 From: JiWoong Sul Date: Tue, 30 Dec 2025 19:06:40 +0900 Subject: [PATCH] =?UTF-8?q?fix(theme):=20=EB=B2=84=ED=8A=BC=20TextStyle=20?= =?UTF-8?q?lerp=20=EC=98=A4=EB=A5=98=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 버튼 테마의 TextStyle에 inherit: false 추가 - color 속성 명시로 완전한 TextStyle 정의 - 애니메이션 시 TextStyle interpolation 오류 방지 --- lib/src/app.dart | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/lib/src/app.dart b/lib/src/app.dart index 0bebeb9..b8d66dc 100644 --- a/lib/src/app.dart +++ b/lib/src/app.dart @@ -128,14 +128,16 @@ class _AskiiNeverDieAppState extends State { color: RetroColors.gold, ), ), - // 버튼 테마 + // 버튼 테마 (inherit: false로 애니메이션 lerp 오류 방지) filledButtonTheme: FilledButtonThemeData( style: FilledButton.styleFrom( backgroundColor: RetroColors.buttonPrimary, foregroundColor: RetroColors.textLight, textStyle: const TextStyle( + inherit: false, fontFamily: 'PressStart2P', fontSize: 10, + color: RetroColors.textLight, ), ), ), @@ -144,8 +146,10 @@ class _AskiiNeverDieAppState extends State { foregroundColor: RetroColors.gold, side: const BorderSide(color: RetroColors.gold, width: 2), textStyle: const TextStyle( + inherit: false, fontFamily: 'PressStart2P', fontSize: 10, + color: RetroColors.gold, ), ), ), @@ -153,8 +157,10 @@ class _AskiiNeverDieAppState extends State { style: TextButton.styleFrom( foregroundColor: RetroColors.cream, textStyle: const TextStyle( + inherit: false, fontFamily: 'PressStart2P', fontSize: 10, + color: RetroColors.cream, ), ), ),