Merge pull request #26 from Iconica-Development/bugfix/avatar_size

fix: avatar image zooming
This commit is contained in:
Gorter-dev 2023-10-06 11:40:31 +02:00 committed by GitHub
commit 661a3fc331
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 2 deletions

View file

@ -1,3 +1,7 @@
## 1.1.6
- Fixed avatar image zooming when constrained beyond it's size
## 1.1.5
- Added custom background color for avatar

View file

@ -37,7 +37,7 @@ class Avatar extends StatelessWidget {
image: hasImage
? DecorationImage(
image: imageProvider,
fit: BoxFit.cover,
fit: BoxFit.contain,
)
: null,
),

View file

@ -1,6 +1,6 @@
name: flutter_profile
description: Flutter profile package
version: 1.1.5
version: 1.1.6
repository: https://github.com/Iconica-Development/flutter_profile
environment: