-
Notifications
You must be signed in to change notification settings - Fork 1
/
section2.py
94 lines (86 loc) · 1.6 KB
/
section2.py
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
from flet import *
from flet import colors,icons
section2 = ResponsiveRow([
Container(
bgcolor="#FFFFFF",
border_radius = border_radius.only(topLeft=30,topRight=30),
padding=0,
margin = margin.symmetric(vertical=-30),
content=Column(col={"sm":12,"md":12,"lg":12},
controls=[
# FOR INPUT SEARCH LUNCH
Container(
bgcolor="#FCFCFC",
border_radius=30,
content=Row([
TextField(
border="none",
prefix_icon=icons.SEARCH,
label="Search Lunch ? "
),
IconButton(icon=icons.ACCOUNT_CIRCLE,
icon_color="green",
icon_size=30
),
])
),
# FOR BLUE CARD,
Card(
elevation=30,
content=Container(
border_radius=30,
bgcolor="#01ADD5",
content=Row([
Container(
margin=10,
height=70,
padding=10,
width=120,
border_radius=10,
bgcolor="white",
content=Column([
Text("Gopay",weight="bold",
size=15
),
Text("Rp.7.029",weight="bold",
size=17
),
Text("Tap to Top Up",
size=11
),
],alignment="center",spacing=0)
),
# FOR CHILD ICON
Column([
Icon(name="bolt",color="white",
size=30
),
Text("Pay",color="white",
size=15,
weight="bold"
)
]),
Column([
Icon(name="add_box",color="white",
size=30
),
Text("Top Up",color="white",
size=15,
weight="bold"
)
]),
Column([
Icon(name="drag_indicator",color="white",
size=30
),
Text("More",color="white",
size=15,
weight="bold"
)
]),
],alignment="spaceEvenly")
)
)
])
)
])