|
|
|
@ -131,7 +131,7 @@ class _AllRequestsSearchPageState extends State<AllRequestsSearchPage> {
|
|
|
|
child: Column(
|
|
|
|
child: Column(
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
children: [
|
|
|
|
children: [
|
|
|
|
context.translation.searchBy.heading5(context),
|
|
|
|
Text(context.translation.searchBy, style: AppTextStyles.heading5.copyWith(color: AppColor.labelTextStyleColor(context))),
|
|
|
|
8.height,
|
|
|
|
8.height,
|
|
|
|
RequestsSearchButtons(
|
|
|
|
RequestsSearchButtons(
|
|
|
|
items: [search!.requestNumber!, search!.assetName!, search!.assetNo!, search!.manufacture!, search!.sn!, search!.model!],
|
|
|
|
items: [search!.requestNumber!, search!.assetName!, search!.assetNo!, search!.manufacture!, search!.sn!, search!.model!],
|
|
|
|
@ -151,13 +151,9 @@ class _AllRequestsSearchPageState extends State<AllRequestsSearchPage> {
|
|
|
|
controller: search!.searchBySelectedValue?.controller,
|
|
|
|
controller: search!.searchBySelectedValue?.controller,
|
|
|
|
labelText: search!.searchBySelectedValue?.label,
|
|
|
|
labelText: search!.searchBySelectedValue?.label,
|
|
|
|
textInputType: search!.searchBySelectedValue?.inputType,
|
|
|
|
textInputType: search!.searchBySelectedValue?.inputType,
|
|
|
|
// labelStyle: AppTextStyles.bodyText2,
|
|
|
|
|
|
|
|
// style: TextStyle(fontWeight: FontWeight.w500, fontSize: context.isTablet() ? 16 : 12, color: context.isDark ? Colors.white : const Color(0xff3B3D4A)),
|
|
|
|
|
|
|
|
// floatingLabelStyle: TextStyle(fontWeight: FontWeight.w500, fontSize: context.isTablet() ? 16 : 12, color: context.isDark ? Colors.white : const Color(0xff3B3D4A)),
|
|
|
|
|
|
|
|
// labelStyle: TextStyle(fontWeight: FontWeight.w500, fontSize: context.isTablet() ? 16 : 12, color: context.isDark ? Colors.white : const Color(0xff767676)),
|
|
|
|
|
|
|
|
labelStyle: AppTextStyles.textFieldLabelStyle,
|
|
|
|
labelStyle: AppTextStyles.textFieldLabelStyle,
|
|
|
|
hintStyle: AppTextStyles.textFieldLabelStyle,
|
|
|
|
hintStyle: AppTextStyles.textFieldLabelStyle,
|
|
|
|
// showBorder: true,
|
|
|
|
showBorder: true,
|
|
|
|
onChange: (text) {
|
|
|
|
onChange: (text) {
|
|
|
|
search!.searchBySelectedValue?.controller?.text = text;
|
|
|
|
search!.searchBySelectedValue?.controller?.text = text;
|
|
|
|
search!.searchBySelectedValue?.controller?.selection = TextSelection.fromPosition(TextPosition(offset: search!.searchBySelectedValue!.controller!.text.length));
|
|
|
|
search!.searchBySelectedValue?.controller?.selection = TextSelection.fromPosition(TextPosition(offset: search!.searchBySelectedValue!.controller!.text.length));
|
|
|
|
@ -168,7 +164,10 @@ class _AllRequestsSearchPageState extends State<AllRequestsSearchPage> {
|
|
|
|
},
|
|
|
|
},
|
|
|
|
),
|
|
|
|
),
|
|
|
|
16.height,
|
|
|
|
16.height,
|
|
|
|
"Sort".heading5(context),
|
|
|
|
RichText(
|
|
|
|
|
|
|
|
text: TextSpan(text: "Sort ", style: AppTextStyles.heading5.copyWith(color: AppColor.textStyleColor(context)), children: [
|
|
|
|
|
|
|
|
TextSpan(text: "(By Date)", style: AppTextStyles.bodyText2.copyWith(color: AppColor.textStyleColor(context))),
|
|
|
|
|
|
|
|
])),
|
|
|
|
8.height,
|
|
|
|
8.height,
|
|
|
|
Row(
|
|
|
|
Row(
|
|
|
|
children: [
|
|
|
|
children: [
|
|
|
|
@ -209,7 +208,7 @@ class _AllRequestsSearchPageState extends State<AllRequestsSearchPage> {
|
|
|
|
],
|
|
|
|
],
|
|
|
|
),
|
|
|
|
),
|
|
|
|
16.height,
|
|
|
|
16.height,
|
|
|
|
context.translation.pickDate.heading5(context),
|
|
|
|
Text(context.translation.pickDate, style: AppTextStyles.heading5.copyWith(color: AppColor.labelTextStyleColor(context))),
|
|
|
|
8.height,
|
|
|
|
8.height,
|
|
|
|
Row(
|
|
|
|
Row(
|
|
|
|
children: [
|
|
|
|
children: [
|
|
|
|
|