forked from d11210920/god-life-guide
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.dart
104 lines (92 loc) · 3.15 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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
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(
home: Scaffold(
appBar: AppBar(
title: Text("Todo List"),
backgroundColor: Colors.black,
),
body: Container(
color: Colors.lightGreen.shade300,
child: Center(
child: Container(
height: 400,
width: 250,
decoration: BoxDecoration(
color: Colors.white70,
borderRadius: BorderRadius.circular(15),
boxShadow: [
BoxShadow(
color: Colors.white70,
spreadRadius: 1,
blurRadius: 5,
offset: Offset(4,4)
)
]
),
child: Column(
children: [
const SizedBox(height: 32,),
Text(
'To-do List',
style: TextStyle(fontStyle: FontStyle.italic, fontSize: 30)
),
const SizedBox(height: 20,),
Container(
height: 30,
width: 200,
child:Text(' 텍스트',style: TextStyle(fontSize: 17,color: Colors.grey),),
decoration: BoxDecoration(
borderRadius: BorderRadius.circular(2),
border: Border.all(color: Colors.black, width: 1)
),
),
Container(
height: 30,
width: 200,
child: Text(' 투두1',style: TextStyle(fontSize: 17,color: Colors.black),),
decoration: BoxDecoration(
color: Colors.grey,
borderRadius: BorderRadius.circular(2),
boxShadow: [
BoxShadow(
spreadRadius: 0.5,
blurRadius: 3,
color: Colors.black45,
offset: Offset(2,2)
)
]
),
),
Container(
height: 30,
width: 200,
child: Text(' 투두2',style: TextStyle(fontSize: 17,color: Colors.black),),
decoration: BoxDecoration(
color: Colors.grey,
borderRadius: BorderRadius.circular(2),
boxShadow: [
BoxShadow(
spreadRadius: 0.5,
blurRadius: 3,
color: Colors.black45,
offset: Offset(2,2)
)
]
),
)
],
),
),
),
),
),
);
}
}