-
Notifications
You must be signed in to change notification settings - Fork 1
/
Test_UI.dart
133 lines (129 loc) · 4.02 KB
/
Test_UI.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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
import 'package:flutter/material.dart';
void main() {
runApp(const FigmaToCodeApp());
}
class FigmaToCodeApp extends StatelessWidget {
const FigmaToCodeApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
theme: ThemeData.dark().copyWith(
scaffoldBackgroundColor: const Color.fromARGB(255, 18, 32, 47),
),
home: Scaffold(
body: ListView(children: [
Frame1(),
]),
),
);
}
}
class Frame1 extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Column(
children: [
Container(
width: 430,
height: 932,
clipBehavior: Clip.antiAlias,
decoration: ShapeDecoration(
color: Colors.white,
shape: RoundedRectangleBorder(
side: BorderSide(width: 1),
borderRadius: BorderRadius.circular(20),
),
),
child: Stack(
children: [
Positioned(
left: 81,
top: 766,
child: Container(
width: 268,
height: 61,
decoration: ShapeDecoration(
color: Color(0xF97ED957),
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(25),
),
shadows: [
BoxShadow(
color: Color(0x3F000000),
blurRadius: 4,
offset: Offset(0, 4),
spreadRadius: 0,
)
],
),
),
),
Positioned(
left: 183,
top: 785,
child: Text(
'LOGIN',
style: TextStyle(
color: Color(0xFFFCFEFC),
fontSize: 20,
fontFamily: 'Inter',
fontWeight: FontWeight.w600,
height: 0,
),
),
),
Positioned(
left: 97,
top: 631,
child: Container(
width: 258,
height: 79.12,
child: Stack(
children: [
Positioned(
left: 0,
top: 3.72,
child: SizedBox(
width: 252.80,
height: 75.40,
child: Text(
'Plandoo',
style: TextStyle(
color: Color(0xFF7ED957),
fontSize: 60,
fontFamily: 'Codec Pro',
fontWeight: FontWeight.w600,
height: 0,
),
),
),
),
Positioned(
left: 234.95,
top: 0,
child: SizedBox(
width: 23.05,
height: 14.89,
child: Text(
'TM',
style: TextStyle(
color: Color(0xFF7ED957),
fontSize: 14,
fontFamily: 'Codec Pro',
fontWeight: FontWeight.w600,
height: 0,
),
),
),
),
],
),
),
),
],
),
),
],
);
}
}