diff --git a/app/android/app/src/main/res/values-night/styles.xml b/app/android/app/src/main/res/values-night/styles.xml
index 06952be..f83f74a 100644
--- a/app/android/app/src/main/res/values-night/styles.xml
+++ b/app/android/app/src/main/res/values-night/styles.xml
@@ -5,6 +5,7 @@
- @drawable/launch_background
+ - @android:color/white
diff --git a/app/android/app/src/main/res/values/styles.xml b/app/android/app/src/main/res/values/styles.xml
index cb1ef88..dbe69c2 100644
--- a/app/android/app/src/main/res/values/styles.xml
+++ b/app/android/app/src/main/res/values/styles.xml
@@ -5,6 +5,7 @@
- @drawable/launch_background
+ - @android:color/white
diff --git a/app/lib/main.dart b/app/lib/main.dart
index 605bc80..321c50c 100644
--- a/app/lib/main.dart
+++ b/app/lib/main.dart
@@ -16,11 +16,15 @@ import 'core/constants.dart';
void main() {
WidgetsFlutterBinding.ensureInitialized();
- // 상태바 스타일 설정
+ // 상태바 및 네비게이션 바 스타일 설정
SystemChrome.setSystemUIOverlayStyle(
const SystemUiOverlayStyle(
+ // 상태바
statusBarColor: Colors.transparent,
statusBarIconBrightness: Brightness.dark,
+ // 네비게이션 바 (소프트키)
+ systemNavigationBarColor: Colors.white,
+ systemNavigationBarIconBrightness: Brightness.dark,
),
);
@@ -36,31 +40,40 @@ class Fromis9App extends StatelessWidget {
@override
Widget build(BuildContext context) {
- return MaterialApp.router(
- title: 'fromis_9',
- debugShowCheckedModeBanner: false,
- theme: ThemeData(
- useMaterial3: true,
- colorScheme: ColorScheme.fromSeed(
- seedColor: AppColors.primary,
- brightness: Brightness.light,
- ),
- scaffoldBackgroundColor: AppColors.background,
- appBarTheme: const AppBarTheme(
- backgroundColor: Colors.white,
- foregroundColor: AppColors.textPrimary,
- elevation: 0,
- scrolledUnderElevation: 1,
- centerTitle: true,
- titleTextStyle: TextStyle(
- color: AppColors.primary,
- fontSize: 20,
- fontWeight: FontWeight.bold,
- ),
- ),
- fontFamily: 'Pretendard',
+ return AnnotatedRegion(
+ value: const SystemUiOverlayStyle(
+ statusBarColor: Colors.transparent,
+ statusBarIconBrightness: Brightness.dark,
+ systemNavigationBarColor: Colors.white,
+ systemNavigationBarIconBrightness: Brightness.dark,
+ systemNavigationBarDividerColor: Colors.transparent,
+ ),
+ child: MaterialApp.router(
+ title: 'fromis_9',
+ debugShowCheckedModeBanner: false,
+ theme: ThemeData(
+ useMaterial3: true,
+ colorScheme: ColorScheme.fromSeed(
+ seedColor: AppColors.primary,
+ brightness: Brightness.light,
+ ),
+ scaffoldBackgroundColor: AppColors.background,
+ appBarTheme: const AppBarTheme(
+ backgroundColor: Colors.white,
+ foregroundColor: AppColors.textPrimary,
+ elevation: 0,
+ scrolledUnderElevation: 1,
+ centerTitle: true,
+ titleTextStyle: TextStyle(
+ color: AppColors.primary,
+ fontSize: 20,
+ fontWeight: FontWeight.bold,
+ ),
+ ),
+ fontFamily: 'Pretendard',
+ ),
+ routerConfig: appRouter,
),
- routerConfig: appRouter,
);
}
}