diff --git a/lib/ui/my_team/employee_details.dart b/lib/ui/my_team/employee_details.dart index e33dad8..82d289d 100644 --- a/lib/ui/my_team/employee_details.dart +++ b/lib/ui/my_team/employee_details.dart @@ -70,6 +70,7 @@ class _EmployeeDetailsState extends State { extendBody: true, backgroundColor: MyColors.lightGreyEFColor, body: Stack(children: [ + getEmployeeSubordinates!.eMPLOYEEIMAGE != null ? Container( height: 200, margin: EdgeInsets.only(top: 30), @@ -80,6 +81,8 @@ class _EmployeeDetailsState extends State { decoration: new BoxDecoration(color: Colors.white.withOpacity(0.0)), ), ), + ) : Container( + decoration: new BoxDecoration(color: Colors.white.withOpacity(0.0)), ), SingleChildScrollView( scrollDirection: Axis.vertical,