From 282982567003202d92e7e9d7e95d69f9d526f123 Mon Sep 17 00:00:00 2001 From: DyCTaTOR <125912249+DyCTaTOR@users.noreply.github.com> Date: Thu, 3 Oct 2024 15:56:21 +0400 Subject: [PATCH] lab3-modificated --- lib/main.dart | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/lib/main.dart b/lib/main.dart index 08b73c4..e38caeb 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -178,16 +178,7 @@ class _Card extends StatelessWidget { child: Row( crossAxisAlignment: CrossAxisAlignment.start, children: [ - ClipRRect( - borderRadius: BorderRadius.circular(20), - child: SizedBox( - height: 140, - width: 100, - child: Image.network(imageUrl ?? '', - fit: BoxFit.cover, - errorBuilder: (_, __, ___) => const Placeholder(),), - ), - ), + SizedBox(width: 16), Flexible( child: Column( @@ -201,6 +192,16 @@ class _Card extends StatelessWidget { ], ), ), + ClipRRect( + borderRadius: BorderRadius.circular(20), + child: SizedBox( + height: 140, + width: 100, + child: Image.network(imageUrl ?? '', + fit: BoxFit.cover, + errorBuilder: (_, __, ___) => const Placeholder(),), + ), + ), ], ), );