lab3-modificated
This commit is contained in:
parent
27d98e5694
commit
2829825670
@ -178,16 +178,7 @@ class _Card extends StatelessWidget {
|
|||||||
child: Row(
|
child: Row(
|
||||||
crossAxisAlignment: CrossAxisAlignment.start,
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
children: [
|
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),
|
SizedBox(width: 16),
|
||||||
Flexible(
|
Flexible(
|
||||||
child: Column(
|
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(),),
|
||||||
|
),
|
||||||
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user