-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.dart
89 lines (81 loc) · 2.44 KB
/
main.dart
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
import 'package:flutter/material.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'ontrack', // 앱의 아이콘 이름
home: Scaffold(
appBar: AppBar(
centerTitle: true, // 앱 상단바 텍스트 중앙 정렬
title: Text('ONTRACK'), // 앱 상단바 설정
),
body: SingleChildScrollView(
child: Padding(
padding: const EdgeInsets.only(
left: 50,
right: 50,
top: 100,
),
child: Column(
children: <Widget>[
Icon(
Icons.directions_bike,
size:40,
),
Center(
child: Text(
'온트랙 서비스',
style: TextStyle(
fontSize: 30, // 폰트 크기
fontWeight: FontWeight.bold, // 폰트 두께
// color: Color.fromRGBO(255, 0, 0, 1), // 출력할 내용
),
),
),
TextField(
decoration: InputDecoration(
hintText: '반갑습니다 고객님.',
labelText: 'ID',
),
),
TextField(
decoration: InputDecoration(
hintText: '',
labelText: '',
),
),
Container(
decoration: BoxDecoration(
border: Border.all(
color: Colors.black,
width: 2.0,
style: BorderStyle.solid,
),
),
width: double.infinity,
child: ElevatedButton(
onPressed: (
) {},
child: Text('가격 조회'),
),
),
TextButton(
onPressed: () {},
child: Text('사용 시작'),
),
TextButton(
onPressed: () {},
child: Text('사용 종료'),
),
],
),
),
),
),
);
}
}