Added some styling to the profile picture

This commit is contained in:
Alex
2023-02-12 13:34:20 -06:00
parent 6a7a4f98db
commit 0538f4478b
2 changed files with 18 additions and 9 deletions
@@ -51,10 +51,15 @@ class HomePageAppBar extends ConsumerWidget with PreferredSizeWidget {
Scaffold.of(context).openDrawer();
},
child: CircleAvatar(
backgroundImage: CachedNetworkImageProvider(
'$endpoint/user/profile-image/${authState.userId}',
),
backgroundColor: Theme.of(context).primaryColor,
radius: 18,
child: CircleAvatar(
backgroundColor: Theme.of(context).primaryColor.withOpacity(0.1),
backgroundImage: CachedNetworkImageProvider(
'$endpoint/user/profile-image/${authState.userId}',
),
radius: 17,
),
),
);
}