diff --git a/lib/classes/colors.dart b/lib/classes/colors.dart index 3469681..bca7f5c 100644 --- a/lib/classes/colors.dart +++ b/lib/classes/colors.dart @@ -49,4 +49,5 @@ class MyColors { static const Color green9CColor = Color(0xff259CB8); static const Color green2DColor = Color(0xff32D892); static const Color greyC4Color = Color(0xffC4C4C4); + static const Color grey35Color = Color(0xff535353); } diff --git a/lib/ui/my_team/my_team.dart b/lib/ui/my_team/my_team.dart index 15ce3d2..0842319 100644 --- a/lib/ui/my_team/my_team.dart +++ b/lib/ui/my_team/my_team.dart @@ -96,7 +96,7 @@ class _MyTeamState extends State { focusedBorder: InputBorder.none, // contentPadding: EdgeInsets.fromLTRB(10, 15, 10, 15), hintText: LocaleKeys.searchBy.tr() + " $dropdownValue", - hintStyle: TextStyle(fontSize: 14.0, color: MyColors.grey57Color, fontWeight: FontWeight.w600), + hintStyle: TextStyle(fontSize: 14.0, color: MyColors.grey3AColor), ), )), Container( @@ -117,9 +117,7 @@ class _MyTeamState extends State { child: Column( children: [ _textEditingController!.text.isNotEmpty && getEmployeeSListOnSearch.isEmpty - ? Container( - child: LocaleKeys.noResultsFound.tr().toText16(color: MyColors.blackColor), - ).paddingOnly(top: 10) + ? Utils.getNoDataWidget(context) : ListView.separated( scrollDirection: Axis.vertical, shrinkWrap: true, @@ -141,8 +139,8 @@ class _MyTeamState extends State { crossAxisAlignment: CrossAxisAlignment.start, children: [ // "Present".toText13(color: MyColors.greenColor), - "${getEmployeeSListOnSearch[index].eMPLOYEENAME}".toText16(isBold: true, color: MyColors.grey3AColor), - "${getEmployeeSListOnSearch[index].pOSITIONNAME}".toText10(isBold: true, color: MyColors.grey57Color), + "${getEmployeeSListOnSearch[index].eMPLOYEENAME}".toText16(color: MyColors.grey3AColor), + "${getEmployeeSListOnSearch[index].pOSITIONNAME}".toText10(color: MyColors.grey57Color), ], ).expanded, Column( @@ -179,7 +177,7 @@ class _MyTeamState extends State { DropdownButton( value: dropdownValue, icon: const Icon(Icons.keyboard_arrow_down, - color: MyColors.grey57Color).paddingOnly(left: 4), + color: MyColors.grey35Color).paddingOnly(left: 4), elevation: 16, onChanged: (String? newValue) { setState(() { @@ -192,8 +190,7 @@ class _MyTeamState extends State { child: Text(value), ); }).toList(), - style: TextStyle(fontSize: 14.0, color: MyColors.grey57Color, - fontWeight: FontWeight.w600), + style: TextStyle(fontSize: 14.0, color: MyColors.grey57Color), ); } }