Skip to content

Commit

Permalink
cart list alignment fixed on ios device
Browse files Browse the repository at this point in the history
  • Loading branch information
TheAlphamerc committed Mar 1, 2020
1 parent 91560a9 commit f0e1730
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/src/pages/mainPage.dart
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,10 @@ class _MainPageState extends State<MainPage> {
switchOutCurve: Curves.easeOutBack,
child: isHomePageSelected
? MyHomePage()
: ShopingCartPage(),
: Align(
alignment: Alignment.topCenter,
child:ShopingCartPage(),
)
))
],
),
Expand Down

0 comments on commit f0e1730

Please sign in to comment.