fix issues

merge-requests/29/head
Fatimah Alshammari 3 years ago
parent e4db7e0cc2
commit 2002359ff1

@ -44,23 +44,26 @@ class _ProfileScreenState extends State<ProfileScreen> {
backgroundColor: const Color(0xffefefef), backgroundColor: const Color(0xffefefef),
body: Stack( body: Stack(
children: [ children: [
Container( memberInformationList!.eMPLOYEEIMAGE != null
height: 300, ? Container(
margin: const EdgeInsets.only(top: 50), height: 300,
decoration: BoxDecoration( margin: const EdgeInsets.only(top: 50),
decoration: BoxDecoration(
image: DecorationImage( image: DecorationImage(
image: MemoryImage( image: MemoryImage(
Utils.dataFromBase64String(memberInformationList.eMPLOYEEIMAGE!), Utils.dataFromBase64String(memberInformationList.eMPLOYEEIMAGE!),
), ),
fit: BoxFit.cover), fit: BoxFit.cover),
), ),
child: BackdropFilter( child: BackdropFilter(
filter: ImageFilter.blur(sigmaX: 10.0, sigmaY: 10.0), filter: ImageFilter.blur(sigmaX: 10.0, sigmaY: 10.0),
child: Container( child: Container(
color: Colors.white.withOpacity(0.0), color: Colors.white.withOpacity(0.0),
), ),
), ),
), ): Container(
decoration: new BoxDecoration(color: Colors.white.withOpacity(0.0)),
),
SingleChildScrollView( SingleChildScrollView(
scrollDirection: Axis.vertical, scrollDirection: Axis.vertical,
child: Column( child: Column(

Loading…
Cancel
Save