-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.dart
77 lines (72 loc) · 2.16 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
import 'package:flutter/material.dart';
void main() {
runApp(const MyApp());
}
@pragma("vm:entry-point")
void overlayMain(List<String> args) {
final phone = args[0];
runApp(MaterialApp(
debugShowCheckedModeBanner: false,
home: Padding(
padding: const EdgeInsets.symmetric(horizontal: 20),
child: Material(
child: Padding(
padding: const EdgeInsets.symmetric(horizontal: 20),
child: Column(
children: [
Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [
IconButton(onPressed: () {}, icon: const Icon(Icons.home)),
IconButton(onPressed: () {}, icon: const Icon(Icons.close)),
],
),
const Align(
alignment: Alignment.centerLeft,
child: Text(
"후후앤컴퍼니",
style: TextStyle(fontSize: 24, fontWeight: FontWeight.w600),
),
),
Align(
alignment: Alignment.centerLeft,
child: Text(
phone,
style: const TextStyle(fontWeight: FontWeight.w600),
),
),
Align(
alignment: Alignment.centerRight,
child: TextButton(
onPressed: () {},
child: Row(
mainAxisSize: MainAxisSize.min,
children: const [
Icon(
Icons.arrow_back_ios_new,
size: 20,
color: Colors.black,
),
Text(
"바로 차단",
style: TextStyle(color: Colors.black),
)
],
)),
)
],
),
),
),
),
));
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return const MaterialApp(
home: Scaffold(),
);
}
}