oto/apps/client/lib/main.dart
toki 04180e086e feat(client): OTO Console 앱 셸을 추가한다
독립 제어 평면 클라이언트 작업을 시작할 수 있도록 Flutter 앱 scaffold와 기본 렌더링 테스트를 추가하고, 완료된 client app 작업 산출물을 아카이브한다.
2026-06-05 07:08:09 +09:00

56 lines
1.3 KiB
Dart

import 'package:flutter/material.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'OTO Console',
theme: ThemeData(
colorScheme: ColorScheme.fromSeed(seedColor: Colors.blueGrey),
useMaterial3: true,
),
home: const MyHomePage(title: 'OTO Console'),
);
}
}
class MyHomePage extends StatelessWidget {
const MyHomePage({super.key, required this.title});
final String title;
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
backgroundColor: Theme.of(context).colorScheme.inversePrimary,
title: Text(title),
),
body: const Center(
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: [
Icon(Icons.dashboard, size: 64, color: Colors.blueGrey),
SizedBox(height: 16),
Text(
'Welcome to OTO Console',
style: TextStyle(fontSize: 24, fontWeight: FontWeight.bold),
),
SizedBox(height: 8),
Text(
'Independent Control Plane',
style: TextStyle(fontSize: 16, color: Colors.grey),
),
],
),
),
);
}
}