@@ -36,16 +36,16 @@ class _MatchingWidgetState extends State<Matching> {
36
36
@override
37
37
Widget build (BuildContext context) {
38
38
return Scaffold (
39
- backgroundColor: const Color . fromRGBO ( 250 , 131 , 88 , 1.0 ), // 배경색 설정
39
+ backgroundColor: const Color ( 0xFFF09676 ), // 배경색 설정
40
40
body: Center (
41
41
child: Column (
42
- mainAxisAlignment: MainAxisAlignment .center ,
42
+ mainAxisAlignment: MainAxisAlignment .spaceEvenly ,
43
43
children: [
44
44
const Padding (
45
- padding: EdgeInsets .only (top: 0.0 , bottom : 0 ),
45
+ padding: EdgeInsets .only (top: 100 ),
46
46
child: Text (
47
- '커피챗 진행중 • • • ' , // 텍스트
48
- style: TextStyle (fontSize: 33 , fontWeight: FontWeight .bold),
47
+ '커피챗 진행중 ... ' , // 텍스트
48
+ style: TextStyle (fontSize: 30 , fontWeight: FontWeight .bold),
49
49
),
50
50
),
51
51
Padding (
@@ -54,23 +54,23 @@ class _MatchingWidgetState extends State<Matching> {
54
54
alignment: Alignment .center,
55
55
children: [
56
56
Image .asset (
57
- 'assets/magnifier .png' ,
57
+ 'assets/coffee_mug .png' ,
58
58
width: 400 ,
59
59
height: 400 ,
60
60
),
61
61
Padding (
62
62
padding: const EdgeInsets .only (top: 58 , right: 0 ), // 패딩 설정
63
63
child: Container (
64
- width: 310 , // 원의 너비
65
- height: 310 , // 원의 높이
64
+ width: 200 , // 원의 너비
65
+ height: 200 , // 원의 높이
66
66
decoration: const BoxDecoration (
67
67
shape: BoxShape .circle, // 원 모양 설정
68
- color: Color . fromRGBO ( 255 , 201 , 186 , 1.0 ),
68
+ color: Color ( 0xFFFFDED2 ),
69
69
),
70
70
),
71
71
),
72
72
Positioned (
73
- top: 150 , // 텍스트 상위 여백 설정
73
+ top: 130 ,
74
74
child: Text (
75
75
'${widget .myNickname } X ${widget .partnerNickname }' ,
76
76
// 회사 이름이 길어졌을 때 논의 필요
@@ -81,11 +81,11 @@ class _MatchingWidgetState extends State<Matching> {
81
81
),
82
82
),
83
83
Positioned (
84
- top: 200 ,
85
- left: 80 ,
84
+ top: 180 ,
85
+ left: 110 ,
86
86
child: Container (
87
- width: 140 ,
88
- height: 140 ,
87
+ width: 100 ,
88
+ height: 100 ,
89
89
decoration: const BoxDecoration (
90
90
shape: BoxShape .circle,
91
91
color: Colors .white,
@@ -101,11 +101,11 @@ class _MatchingWidgetState extends State<Matching> {
101
101
),
102
102
),
103
103
Positioned (
104
- top: 200 ,
105
- right: 80 ,
104
+ top: 180 ,
105
+ right: 110 ,
106
106
child: Container (
107
- width: 140 ,
108
- height: 140 ,
107
+ width: 100 ,
108
+ height: 100 ,
109
109
decoration: const BoxDecoration (
110
110
shape: BoxShape .circle,
111
111
color: Colors .white,
@@ -124,52 +124,50 @@ class _MatchingWidgetState extends State<Matching> {
124
124
],
125
125
),
126
126
),
127
- Padding (
128
- padding: const EdgeInsets .only (top: 80 ), // 버튼 주위의 패딩 설정
129
- child: SizedBox (
130
- width: 350 , // 버튼의 너비 설정
131
- height: 70 , // 버튼의 높이 설정
132
- child: ElevatedButton (
133
- onPressed: () async {
134
- showDialog (
135
- context: context,
136
- builder: (context) {
137
- return YesOrNoDialog (
138
- content: "커피챗을 종료하시겠습니까?" ,
139
- firstButton: "종료" ,
140
- secondButton: "닫기" ,
141
- handleFirstClick: () async {
142
- Navigator .push (
143
- context,
144
- MaterialPageRoute (
145
- builder: (context) => CoffeeChatRating (
146
- userId: widget.myId,
147
- partnerId: widget.partnerId,
148
- partnerNickname: widget.partnerNickname,
149
- matchId: widget.matchId,
150
- ),
127
+ const SizedBox (height: 100 ),
128
+ SizedBox (
129
+ width: 350 , // 버튼의 너비 설정
130
+ height: 70 , // 버튼의 높이 설정
131
+ child: ElevatedButton (
132
+ onPressed: () async {
133
+ showDialog (
134
+ context: context,
135
+ builder: (context) {
136
+ return YesOrNoDialog (
137
+ content: "커피챗을 종료하시겠습니까?" ,
138
+ firstButton: "종료" ,
139
+ secondButton: "닫기" ,
140
+ handleFirstClick: () async {
141
+ Navigator .push (
142
+ context,
143
+ MaterialPageRoute (
144
+ builder: (context) => CoffeeChatRating (
145
+ userId: widget.myId,
146
+ partnerId: widget.partnerId,
147
+ partnerNickname: widget.partnerNickname,
148
+ matchId: widget.matchId,
151
149
),
152
- );
153
- },
154
- );
155
- },
156
- );
157
- },
158
- style : ElevatedButton . styleFrom (
159
- padding : const EdgeInsets . symmetric (
160
- vertical : 10 , horizontal : 20 ), // 버튼의 내부 패딩 설정
161
- shape : RoundedRectangleBorder (
162
- borderRadius : BorderRadius . circular ( 15 ),
163
- ), // 버튼의 모양 설정
164
- backgroundColor : const Color ( 0xFF371D10 ), // 버튼의 배경색 설정
165
- ),
166
- child : const Text (
167
- '커피챗 종료' ,
168
- style : TextStyle (
169
- fontSize : 20 ,
170
- color : Colors .white ,
171
- ), // 버튼 텍스트의 스타일 설정
172
- ),
150
+ ),
151
+ );
152
+ },
153
+ );
154
+ },
155
+ );
156
+ },
157
+ style : ElevatedButton . styleFrom (
158
+ padding : const EdgeInsets . symmetric (
159
+ vertical : 10 , horizontal : 20 ), // 버튼의 내부 패딩 설정
160
+ shape : RoundedRectangleBorder (
161
+ borderRadius : BorderRadius . circular ( 15 ),
162
+ ), // 버튼의 모양 설정
163
+ backgroundColor : const Color ( 0xFF371D10 ), // 버튼의 배경색 설정
164
+ ),
165
+ child : const Text (
166
+ '커피챗 종료' ,
167
+ style : TextStyle (
168
+ fontSize : 20 ,
169
+ color : Colors .white,
170
+ ), // 버튼 텍스트의 스타일 설정
173
171
),
174
172
),
175
173
),
0 commit comments