mirror of
https://github.com/Iconica-Development/flutter_profile.git
synced 2025-05-19 09:13:44 +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
|
## 1.1.5
|
||||||
|
|
||||||
- Added custom background color for avatar
|
- Added custom background color for avatar
|
||||||
|
|
|
@ -37,7 +37,7 @@ class Avatar extends StatelessWidget {
|
||||||
image: hasImage
|
image: hasImage
|
||||||
? DecorationImage(
|
? DecorationImage(
|
||||||
image: imageProvider,
|
image: imageProvider,
|
||||||
fit: BoxFit.cover,
|
fit: BoxFit.contain,
|
||||||
)
|
)
|
||||||
: null,
|
: null,
|
||||||
),
|
),
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
name: flutter_profile
|
name: flutter_profile
|
||||||
description: Flutter profile package
|
description: Flutter profile package
|
||||||
version: 1.1.5
|
version: 1.1.6
|
||||||
repository: https://github.com/Iconica-Development/flutter_profile
|
repository: https://github.com/Iconica-Development/flutter_profile
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
|
|
Loading…
Reference in a new issue