화면 하단 여백 · 로그아웃 진행 · 스낵바 강조색 · TODAY'S QUEST 관리자 퀘스트 3개
This commit is contained in:
+5
-14
@@ -12,7 +12,6 @@ import 'core/push/push_messaging.dart';
|
||||
import 'core/router/app_router.dart';
|
||||
import 'features/home/home_screen.dart' show homeRefreshSignal;
|
||||
import 'core/theme/app_theme.dart';
|
||||
import 'core/theme/tokens.dart';
|
||||
import 'features/auth/auth_repository.dart';
|
||||
import 'features/campaign/campaign_detail_screen.dart';
|
||||
import 'features/notification/notification_screen.dart';
|
||||
@@ -242,19 +241,11 @@ class _FancakeAppState extends State<FancakeApp> with WidgetsBindingObserver {
|
||||
screenFor: _notificationScreen,
|
||||
child: MaterialApp.router(
|
||||
title: 'FANUZU',
|
||||
// 하단 시스템 내비게이션 바(Android 15 edge-to-edge · iOS 홈 표시줄) 위로 모든 화면을 올린다.
|
||||
// 본문이 `ListView(padding: …)` 처럼 하단 여백을 직접 정하면 안전 영역이 빠져 마지막 칸 ·
|
||||
// 하단 버튼이 바에 가렸다(10/6 실기기 — 약관 「이전 · 완료」 · 퀘스트 생성 「총 예치 · 수수료」 ·
|
||||
// 설정 「서비스 탈퇴」). 화면마다 고치지 않고 여기서 한 번에. 띠는 앱 바탕색이다.
|
||||
builder: (context, child) => ColoredBox(
|
||||
color: AppColors.cosmicVoid,
|
||||
child: SafeArea(
|
||||
top: false,
|
||||
left: false,
|
||||
right: false,
|
||||
child: AdaptivePlanetEffects(child: child ?? const SizedBox()),
|
||||
),
|
||||
),
|
||||
// 루트에서 하단 안전 영역을 잘라 내지 않는다 — 잘라 내면 바 높이만큼 cosmicVoid 띠가 생기고
|
||||
// 바텀시트가 화면 끝까지 내려오지 못한다(10/6 실기기 · Figma 는 하단까지 화면 배경).
|
||||
// 하단 여백을 직접 정하는 화면이 `withBottomInset`(core/ui/bottom_inset.dart)으로 바 높이를 더한다.
|
||||
builder: (context, child) =>
|
||||
AdaptivePlanetEffects(child: child ?? const SizedBox()),
|
||||
debugShowCheckedModeBanner: false,
|
||||
scaffoldMessengerKey: _messengerKey,
|
||||
locale: _locale.locale,
|
||||
|
||||
Reference in New Issue
Block a user