fix design issues

merge-requests/1/merge
Fatimah Alshammari 2 years ago
parent a55e4bf84f
commit e2720c7057

@ -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);
}

@ -96,7 +96,7 @@ class _MyTeamState extends State<MyTeam> {
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<MyTeam> {
child: Column(
children: <Widget>[
_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<MyTeam> {
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<MyTeam> {
DropdownButton<String>(
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<MyTeam> {
child: Text(value),
);
}).toList(),
style: TextStyle(fontSize: 14.0, color: MyColors.grey57Color,
fontWeight: FontWeight.w600),
style: TextStyle(fontSize: 14.0, color: MyColors.grey57Color),
);
}
}

Loading…
Cancel
Save