mirror of
https://github.com/Iconica-Development/flutter_profile.git
synced 2025-05-18 16:53:45 +02:00
Merge pull request #26 from Iconica-Development/bugfix/avatar_size
fix: avatar image zooming
This commit is contained in:
commit
661a3fc331
3 changed files with 6 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -37,7 +37,7 @@ class Avatar extends StatelessWidget {
|
|||
image: hasImage
|
||||
? DecorationImage(
|
||||
image: imageProvider,
|
||||
fit: BoxFit.cover,
|
||||
fit: BoxFit.contain,
|
||||
)
|
||||
: null,
|
||||
),
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue