fix issues

merge-requests/29/head
Fatimah Alshammari 3 years ago
parent af56d8f71b
commit e2519b5df2

@ -70,6 +70,7 @@ class _EmployeeDetailsState extends State<EmployeeDetails> {
extendBody: true, extendBody: true,
backgroundColor: MyColors.lightGreyEFColor, backgroundColor: MyColors.lightGreyEFColor,
body: Stack(children: [ body: Stack(children: [
getEmployeeSubordinates!.eMPLOYEEIMAGE != null ?
Container( Container(
height: 200, height: 200,
margin: EdgeInsets.only(top: 30), margin: EdgeInsets.only(top: 30),
@ -80,6 +81,8 @@ class _EmployeeDetailsState extends State<EmployeeDetails> {
decoration: new BoxDecoration(color: Colors.white.withOpacity(0.0)), decoration: new BoxDecoration(color: Colors.white.withOpacity(0.0)),
), ),
), ),
) : Container(
decoration: new BoxDecoration(color: Colors.white.withOpacity(0.0)),
), ),
SingleChildScrollView( SingleChildScrollView(
scrollDirection: Axis.vertical, scrollDirection: Axis.vertical,

Loading…
Cancel
Save