fix pro pic alignmnt
This commit is contained in:
parent
6a7bb762d1
commit
a523397261
1 changed files with 8 additions and 4 deletions
|
|
@ -72,12 +72,16 @@ class _MihCircleAvatarState extends State<MihCircleAvatar> {
|
||||||
children: [
|
children: [
|
||||||
Visibility(
|
Visibility(
|
||||||
visible: imagePreview != null,
|
visible: imagePreview != null,
|
||||||
|
child: Positioned(
|
||||||
|
bottom: 5,
|
||||||
|
right: 5,
|
||||||
child: CircleAvatar(
|
child: CircleAvatar(
|
||||||
radius: widget.width / 2.2,
|
radius: widget.width / 2.2,
|
||||||
backgroundColor: widget.backgroundColor,
|
backgroundColor: widget.backgroundColor,
|
||||||
backgroundImage: imagePreview,
|
backgroundImage: imagePreview,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
),
|
||||||
Visibility(
|
Visibility(
|
||||||
visible: imagePreview != null,
|
visible: imagePreview != null,
|
||||||
child: FittedBox(
|
child: FittedBox(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue