mirror of
https://github.com/Iconica-Development/flutter_profile.git
synced 2025-05-18 16:53: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
|
||||
? DecorationImage(
|
||||
image: imageProvider,
|
||||
fit: BoxFit.cover,
|
||||
fit: BoxFit.contain,
|
||||
)
|
||||
: null,
|
||||
),
|
||||
|
|
Loading…
Reference in a new issue