Extract ZoomableImage to separate class; add it for artist page

This commit is contained in:
kilowatt 2020-10-23 00:24:30 +03:00
parent e959827cdb
commit bdada46541
3 changed files with 61 additions and 42 deletions

View file

@ -303,11 +303,10 @@ class ArtistDetails extends StatelessWidget {
child: Row(
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
children: <Widget>[
CachedImage(
ZoomableImage(
url: artist.picture.full,
width: MediaQuery.of(context).size.width / 2 - 8,
rounded: true,
fullThumb: true,
),
Container(
width: MediaQuery.of(context).size.width / 2 - 8,