summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorAnuj-S62 <anuj603362@gmail.com>2023-12-09 13:26:16 +0530
committerAnuj-S62 <anuj603362@gmail.com>2023-12-09 13:48:18 +0530
commitd5f533481ed40ee2afb7f88911b59f5d464c959a (patch)
tree1d82dfc76b7d5407ac5f0b91f199a5d1dc070d1b /lib
parente389b9fa646f90d50e853c2dbf870cdf9f9b80b7 (diff)
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 <anuj603362@gmail.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/HomePage.dart6
1 files changed, 5 insertions, 1 deletions
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<HomePage> {
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<HomePage> {
height: SizeConfig.safeBlockVertical * 10),
],
),
+ Expanded(child:
Image.asset(
'images/car_img.png',
),
+ ),
Column(
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
crossAxisAlignment: CrossAxisAlignment.center,