mirror of
https://github.com/Iconica-Development/flutter_profile.git
synced 2025-05-19 01:03:45 +02:00
fix: image doesn't zoom anymore when its size is constrained
This commit is contained in:
parent
1bab322e94
commit
123aeab0f2
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ class Avatar extends StatelessWidget {
|
||||||
image: hasImage
|
image: hasImage
|
||||||
? DecorationImage(
|
? DecorationImage(
|
||||||
image: imageProvider,
|
image: imageProvider,
|
||||||
fit: BoxFit.cover,
|
fit: BoxFit.contain,
|
||||||
)
|
)
|
||||||
: null,
|
: null,
|
||||||
),
|
),
|
||||||
|
|
Loading…
Reference in a new issue