Skip to content

Commit 596701f

Browse files
committed
Alignment fix in examle
1 parent 31a27b2 commit 596701f

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

example/lib/main.dart

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,8 @@ class _MyHomePageState extends State<MyHomePage> {
3232
appBar: AppBar(
3333
title: Text(widget.title),
3434
),
35-
body: Center(
36-
child: Container(
37-
height: 500,
38-
width: 350,
35+
body: Container(
36+
alignment: Alignment.center,
3937
child: EmptyListWidget(
4038
image: null,
4139
packageImage: PackageImage.Image_1,
@@ -51,7 +49,7 @@ class _MyHomePageState extends State<MyHomePage> {
5149
.dense
5250
.bodyText1
5351
.copyWith(color: Color(0xffabb8d6))),
54-
)),
52+
),
5553
);
5654
}
5755
}

0 commit comments

Comments
 (0)