diff --git a/lib/ui/profile/profile_screen.dart b/lib/ui/profile/profile_screen.dart index 690633b..533834f 100644 --- a/lib/ui/profile/profile_screen.dart +++ b/lib/ui/profile/profile_screen.dart @@ -44,23 +44,26 @@ class _ProfileScreenState extends State { backgroundColor: const Color(0xffefefef), body: Stack( children: [ - Container( - height: 300, - margin: const EdgeInsets.only(top: 50), - decoration: BoxDecoration( + memberInformationList!.eMPLOYEEIMAGE != null + ? Container( + height: 300, + margin: const EdgeInsets.only(top: 50), + decoration: BoxDecoration( image: DecorationImage( image: MemoryImage( Utils.dataFromBase64String(memberInformationList.eMPLOYEEIMAGE!), ), fit: BoxFit.cover), ), - child: BackdropFilter( + child: BackdropFilter( filter: ImageFilter.blur(sigmaX: 10.0, sigmaY: 10.0), child: Container( color: Colors.white.withOpacity(0.0), ), ), - ), + ): Container( + decoration: new BoxDecoration(color: Colors.white.withOpacity(0.0)), + ), SingleChildScrollView( scrollDirection: Axis.vertical, child: Column(