From d5f533481ed40ee2afb7f88911b59f5d464c959a Mon Sep 17 00:00:00 2001 From: Anuj-S62 Date: Sat, 9 Dec 2023 13:26:16 +0530 Subject: flutter-dashboard: fix pixel overflow Fixed right side pixel overflow in smaller displays Bug-AGL: SPEC-5009 Change-Id: I1318760d44a97c3541b83a4a24a299a5493abaaf Signed-off-by: Anuj-S62 --- lib/HomePage.dart | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/HomePage.dart b/lib/HomePage.dart index 36d8381..e9861f6 100644 --- a/lib/HomePage.dart +++ b/lib/HomePage.dart @@ -84,7 +84,9 @@ class _HomePageState extends ConsumerState { flex: 11, child: Container( //color: Colors.red, - child: Row(children: [ + child: Row( + mainAxisAlignment: MainAxisAlignment.spaceAround, + children: [ Spacer(), Column( mainAxisAlignment: MainAxisAlignment.spaceEvenly, @@ -100,9 +102,11 @@ class _HomePageState extends ConsumerState { height: SizeConfig.safeBlockVertical * 10), ], ), + Expanded(child: Image.asset( 'images/car_img.png', ), + ), Column( mainAxisAlignment: MainAxisAlignment.spaceEvenly, crossAxisAlignment: CrossAxisAlignment.center, -- cgit 1.2.3-korg