-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathContainer.txt
More file actions
31 lines (31 loc) · 807 Bytes
/
Container.txt
File metadata and controls
31 lines (31 loc) · 807 Bytes
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
class Home extends StatelessWidget {
@override
Widget build(BuildContext conyext) {
return Center(
child: Container(
alignment: Alignment.bottomLeft,
color: Colors.green,
width: 50,
height: 50,
margin: EdgeInsets.all(15.0),
child: Text(
"Option 1",
textDirection: TextDirection.ltr,
style: TextStyle(color: Colors.deepPurple, fontSize: 30.0),
),
),
/* child: Container(
alignment: Alignment.bottomRight,
color: Colors.green,
width: 50,
height: 50,
margin: EdgeInsets.all(15.0),
child: Text(
"Option 1",
textDirection: TextDirection.ltr,
style: TextStyle(color: Colors.deepPurple, fontSize: 30.0),
),
),*/
);
}
}