feat(avatar): task 394 placeholder empty avatar

This commit is contained in:
mso7nueh
2025-04-25 12:56:23 +03:00
parent a3d903b6b9
commit 27b1656690
10 changed files with 24 additions and 7 deletions

View File

@@ -81,7 +81,8 @@ class _BottomNavigationBarWidgetState extends State<BottomNavigationBarWidget> {
BottomNavigationBarItem(
label: '',
icon: CircleAvatar(
backgroundImage: NetworkImage(widget.profileModel.profilePhotoUrl),
foregroundImage: NetworkImage(widget.profileModel.profilePhotoUrl),
backgroundImage: const AssetImage('assets/images/no_avatar.png'),
radius: 16,
),
),