diff --git a/lib/view/Sidemenu/Sidemenu.dart b/lib/view/Sidemenu/Sidemenu.dart index b35bdb8..0069bf7 100644 --- a/lib/view/Sidemenu/Sidemenu.dart +++ b/lib/view/Sidemenu/Sidemenu.dart @@ -120,8 +120,9 @@ class _SideMenuState extends State { height: 80.h, decoration: ShapeDecoration( image: DecorationImage( - image: NetworkImage( - ProfileObj!.data!.profilePhoto ?? ""), + image: NetworkImage(ProfileObj!.data == null + ? "" + : ProfileObj!.data!.profilePhoto ?? ""), fit: BoxFit.fill, ), shape: OvalBorder(),