fix pro pic alignmnt
This commit is contained in:
@@ -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(
|
||||||
|
|||||||
Reference in New Issue
Block a user