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,6 +81,7 @@ class _BlogPostWidgetState extends State<BlogPostWidget> {
foregroundImage: NetworkImage(
state.feedBlogPostList[widget.index].author.authorProfileIcon,
),
backgroundImage: const AssetImage('assets/images/no_avatar.png'),
),
const SizedBox(width: 8),
Column(

View File

@@ -61,6 +61,7 @@ class _CommentsWidgetState extends State<CommentsWidget> {
children: [
CircleAvatar(
foregroundImage: NetworkImage(comment.authorProfileIcon),
backgroundImage: const AssetImage('assets/images/no_avatar.png'),
radius: radius,
),
const SizedBox(width: 8),

View File

@@ -64,6 +64,7 @@ class ConsultantWidget extends StatelessWidget {
const SizedBox(width: 8),
CircleAvatar(
foregroundImage: NetworkImage(consultant.photo),
backgroundImage: const AssetImage('assets/images/no_avatar.png'),
),
const SizedBox(width: 8),
Column(