|
|
|
@ -74,16 +74,18 @@ class _EntityListCheckboxSearchWidgetState
|
|
|
|
|
child: Container(
|
|
|
|
|
margin: EdgeInsets.only(top: 15),
|
|
|
|
|
decoration: BoxDecoration(
|
|
|
|
|
borderRadius: BorderRadius.circular(12),
|
|
|
|
|
borderRadius: BorderRadius.circular(8),
|
|
|
|
|
color: Colors.white),
|
|
|
|
|
child: ListView(
|
|
|
|
|
children: [
|
|
|
|
|
TextFields(
|
|
|
|
|
hintText: TranslationBase.of(context).searchProcedures,
|
|
|
|
|
suffixIcon: EvaIcons.search,
|
|
|
|
|
suffixIconColor: Color(0xff2B353E),
|
|
|
|
|
onChanged: (value) {
|
|
|
|
|
filterSearchResults(value);
|
|
|
|
|
},
|
|
|
|
|
hasBorder: false,
|
|
|
|
|
),
|
|
|
|
|
SizedBox(
|
|
|
|
|
height: 15,
|
|
|
|
@ -99,7 +101,7 @@ class _EntityListCheckboxSearchWidgetState
|
|
|
|
|
Checkbox(
|
|
|
|
|
value: widget.isEntityListSelected(
|
|
|
|
|
historyInfo),
|
|
|
|
|
activeColor: Colors.red[800],
|
|
|
|
|
activeColor: Color(0xffD02127),
|
|
|
|
|
onChanged: (bool newValue) {
|
|
|
|
|
setState(() {
|
|
|
|
|
if (widget.isEntityListSelected(
|
|
|
|
@ -118,6 +120,7 @@ class _EntityListCheckboxSearchWidgetState
|
|
|
|
|
horizontal: 10, vertical: 0),
|
|
|
|
|
child: Texts(
|
|
|
|
|
historyInfo.procedureName,
|
|
|
|
|
fontSize: 14.0,
|
|
|
|
|
variant: "bodyText",
|
|
|
|
|
bold: true,
|
|
|
|
|
color: Color(0xff575757)),
|
|
|
|
@ -130,18 +133,32 @@ class _EntityListCheckboxSearchWidgetState
|
|
|
|
|
child: Padding(
|
|
|
|
|
padding: EdgeInsets.symmetric(
|
|
|
|
|
horizontal: 12),
|
|
|
|
|
child: Row(
|
|
|
|
|
child: Column(
|
|
|
|
|
crossAxisAlignment:
|
|
|
|
|
CrossAxisAlignment.start,
|
|
|
|
|
children: [
|
|
|
|
|
AppText(
|
|
|
|
|
TranslationBase.of(context)
|
|
|
|
|
Row(
|
|
|
|
|
children: [
|
|
|
|
|
Padding(
|
|
|
|
|
padding: const EdgeInsets
|
|
|
|
|
.symmetric(
|
|
|
|
|
horizontal: 11),
|
|
|
|
|
child: AppText(
|
|
|
|
|
TranslationBase.of(
|
|
|
|
|
context)
|
|
|
|
|
.orderType,
|
|
|
|
|
fontWeight: FontWeight.w700,
|
|
|
|
|
fontWeight:
|
|
|
|
|
FontWeight.w700,
|
|
|
|
|
color: Color(0xff2B353E),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
Row(
|
|
|
|
|
children: [
|
|
|
|
|
Radio(
|
|
|
|
|
activeColor:
|
|
|
|
|
Color(0xFFB9382C),
|
|
|
|
|
Color(0xFFD02127),
|
|
|
|
|
value: 0,
|
|
|
|
|
groupValue: selectedType,
|
|
|
|
|
onChanged: (value) {
|
|
|
|
@ -153,10 +170,14 @@ class _EntityListCheckboxSearchWidgetState
|
|
|
|
|
value.toString();
|
|
|
|
|
},
|
|
|
|
|
),
|
|
|
|
|
Text('routine'),
|
|
|
|
|
AppText(
|
|
|
|
|
'routine',
|
|
|
|
|
color: Color(0xff575757),
|
|
|
|
|
fontWeight: FontWeight.w600,
|
|
|
|
|
),
|
|
|
|
|
Radio(
|
|
|
|
|
activeColor:
|
|
|
|
|
Color(0xFFB9382C),
|
|
|
|
|
Color(0xFFD02127),
|
|
|
|
|
groupValue: selectedType,
|
|
|
|
|
value: 1,
|
|
|
|
|
onChanged: (value) {
|
|
|
|
@ -168,9 +189,12 @@ class _EntityListCheckboxSearchWidgetState
|
|
|
|
|
value.toString();
|
|
|
|
|
},
|
|
|
|
|
),
|
|
|
|
|
Text(TranslationBase.of(
|
|
|
|
|
context)
|
|
|
|
|
.urgent),
|
|
|
|
|
AppText(
|
|
|
|
|
TranslationBase.of(context)
|
|
|
|
|
.urgent,
|
|
|
|
|
color: Color(0xff575757),
|
|
|
|
|
fontWeight: FontWeight.w600,
|
|
|
|
|
),
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
],
|
|
|
|
@ -192,11 +216,13 @@ class _EntityListCheckboxSearchWidgetState
|
|
|
|
|
},
|
|
|
|
|
minLines: 3,
|
|
|
|
|
maxLines: 5,
|
|
|
|
|
borderWidth: 0.5,
|
|
|
|
|
borderColor: Colors.grey[500],
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
DividerWithSpacesAround(),
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
DividerWithSpacesAround(),
|
|
|
|
|
],
|
|
|
|
|
);
|
|
|
|
|
}).toList(),
|
|
|
|
|