web 너비 제한
This commit is contained in:
@@ -38,6 +38,6 @@ _flutter.buildConfig = {"engineRevision":"d2913632a4578ee4d0b8b1c4a69888c8a0672c
|
||||
|
||||
_flutter.loader.load({
|
||||
serviceWorkerSettings: {
|
||||
serviceWorkerVersion: "2393892022"
|
||||
serviceWorkerVersion: "2795888634"
|
||||
}
|
||||
});
|
||||
|
||||
@@ -3,11 +3,11 @@ const MANIFEST = 'flutter-app-manifest';
|
||||
const TEMP = 'flutter-temp-cache';
|
||||
const CACHE_NAME = 'flutter-app-cache';
|
||||
|
||||
const RESOURCES = {"flutter_bootstrap.js": "cc9110107e1984aa6cc34f121cf939b7",
|
||||
const RESOURCES = {"flutter_bootstrap.js": "468fc95ee4781b01447444f01fc35a6d",
|
||||
"version.json": "da93f1b9f56cad7b2866130c73bc1e17",
|
||||
"index.html": "dbf5e70d5dc44d78d9e072817c5b3fa3",
|
||||
"/": "dbf5e70d5dc44d78d9e072817c5b3fa3",
|
||||
"main.dart.js": "fd15d04a259aa7e62df737ffbe2f83ff",
|
||||
"main.dart.js": "4ae87a0a950b181923e8f9a254640bfe",
|
||||
"flutter.js": "888483df48293866f9f41d3d9274a779",
|
||||
"favicon.png": "5dcef449791fa27946b3d35ad8803796",
|
||||
"icons/Icon-192.png": "ac9a721a12bbc803b44f645561ecb1e1",
|
||||
|
||||
+37855
-37842
File diff suppressed because one or more lines are too long
@@ -56,6 +56,8 @@ class MyApp extends StatelessWidget {
|
||||
return MaterialApp(
|
||||
navigatorKey: navigatorKey, // 인증 오류 처리를 위한 전역 네비게이터 키
|
||||
title: '볼링 매니저',
|
||||
// 테마 자동 전환 비활성화(항상 라이트 테마)
|
||||
themeMode: ThemeMode.light,
|
||||
theme: ThemeData(
|
||||
colorScheme: ColorScheme.fromSeed(seedColor: Colors.blue),
|
||||
useMaterial3: true,
|
||||
@@ -147,6 +149,21 @@ class MyApp extends StatelessWidget {
|
||||
Locale('en', 'US'),
|
||||
],
|
||||
locale: const Locale('ko', 'KR'),
|
||||
// 전역 레이아웃 래퍼: 큰 화면에서 최대 폭 제한 및 좌우 패딩 적용
|
||||
builder: (context, child) {
|
||||
const double maxWidth = 1200;
|
||||
return Container(
|
||||
alignment: Alignment.topCenter,
|
||||
color: Theme.of(context).colorScheme.background,
|
||||
child: Padding(
|
||||
padding: const EdgeInsets.symmetric(horizontal: 16),
|
||||
child: ConstrainedBox(
|
||||
constraints: const BoxConstraints(maxWidth: maxWidth),
|
||||
child: child,
|
||||
),
|
||||
),
|
||||
);
|
||||
},
|
||||
home: authService.isAuthenticated ? const HomeScreen() : const LoginScreen(),
|
||||
routes: {
|
||||
'/login': (context) => const LoginScreen(),
|
||||
|
||||
Reference in New Issue
Block a user