forked from firka/student-legacy
made ad tile image circular
This commit is contained in:
parent
c4dc03f41d
commit
056bf7ab58
@ -35,12 +35,15 @@ class AdTile extends StatelessWidget {
|
||||
],
|
||||
),
|
||||
leading: ad.logoUrl != null
|
||||
? Image.network(
|
||||
? ClipRRect(
|
||||
borderRadius: BorderRadius.circular(50.0),
|
||||
child: Image.network(
|
||||
ad.logoUrl.toString(),
|
||||
errorBuilder: (context, error, stackTrace) {
|
||||
ad.logoUrl = null;
|
||||
return const SizedBox();
|
||||
},
|
||||
),
|
||||
)
|
||||
: null,
|
||||
trailing: const Icon(FeatherIcons.externalLink),
|
||||
|
Loading…
x
Reference in New Issue
Block a user