|
|
|
@ -134,7 +134,7 @@ class _UpdateObjectivePageState extends State<UpdateObjectivePage> {
|
|
|
|
|
HeaderBodyExpandableNotifier(
|
|
|
|
|
headerWidget: Row(
|
|
|
|
|
mainAxisAlignment:
|
|
|
|
|
MainAxisAlignment.spaceBetween,
|
|
|
|
|
MainAxisAlignment.spaceBetween,
|
|
|
|
|
children: [
|
|
|
|
|
Row(
|
|
|
|
|
children: [
|
|
|
|
@ -142,7 +142,7 @@ class _UpdateObjectivePageState extends State<UpdateObjectivePage> {
|
|
|
|
|
"${TranslationBase.of(context).physicalSystemExamination}",
|
|
|
|
|
fontFamily: 'Poppins',
|
|
|
|
|
fontSize:
|
|
|
|
|
SizeConfig.textMultiplier * 2.0,
|
|
|
|
|
SizeConfig.textMultiplier * 2.0,
|
|
|
|
|
fontWeight: isSysExaminationExpand
|
|
|
|
|
? FontWeight.w700
|
|
|
|
|
: FontWeight.normal,
|
|
|
|
@ -158,7 +158,7 @@ class _UpdateObjectivePageState extends State<UpdateObjectivePage> {
|
|
|
|
|
onTap: () {
|
|
|
|
|
setState(() {
|
|
|
|
|
isSysExaminationExpand =
|
|
|
|
|
!isSysExaminationExpand;
|
|
|
|
|
!isSysExaminationExpand;
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
child: Icon(isSysExaminationExpand
|
|
|
|
@ -176,7 +176,7 @@ class _UpdateObjectivePageState extends State<UpdateObjectivePage> {
|
|
|
|
|
padding: EdgeInsets.symmetric(
|
|
|
|
|
vertical: 8, horizontal: 8.0),
|
|
|
|
|
margin:
|
|
|
|
|
EdgeInsets.symmetric(vertical: 8),
|
|
|
|
|
EdgeInsets.symmetric(vertical: 8),
|
|
|
|
|
decoration: BoxDecoration(
|
|
|
|
|
border: Border.all(
|
|
|
|
|
color: Colors.grey.shade400,
|
|
|
|
@ -188,33 +188,33 @@ class _UpdateObjectivePageState extends State<UpdateObjectivePage> {
|
|
|
|
|
),
|
|
|
|
|
child: Row(
|
|
|
|
|
mainAxisAlignment:
|
|
|
|
|
MainAxisAlignment.spaceBetween,
|
|
|
|
|
MainAxisAlignment.spaceBetween,
|
|
|
|
|
crossAxisAlignment:
|
|
|
|
|
CrossAxisAlignment.center,
|
|
|
|
|
CrossAxisAlignment.center,
|
|
|
|
|
children: [
|
|
|
|
|
Expanded(
|
|
|
|
|
child: Column(
|
|
|
|
|
crossAxisAlignment:
|
|
|
|
|
crossAxisAlignment:
|
|
|
|
|
CrossAxisAlignment.start,
|
|
|
|
|
children: [
|
|
|
|
|
AppText(
|
|
|
|
|
"${TranslationBase.of(context).addExamination}",
|
|
|
|
|
fontSize: SizeConfig
|
|
|
|
|
children: [
|
|
|
|
|
AppText(
|
|
|
|
|
"${TranslationBase.of(context).addExamination}",
|
|
|
|
|
fontSize: SizeConfig
|
|
|
|
|
.textMultiplier *
|
|
|
|
|
1.8,
|
|
|
|
|
color: Colors.black,
|
|
|
|
|
fontWeight: FontWeight.bold,
|
|
|
|
|
),
|
|
|
|
|
AppText(
|
|
|
|
|
"${TranslationBase.of(context).searchHere}",
|
|
|
|
|
fontSize: SizeConfig
|
|
|
|
|
1.8,
|
|
|
|
|
color: Colors.black,
|
|
|
|
|
fontWeight: FontWeight.bold,
|
|
|
|
|
),
|
|
|
|
|
AppText(
|
|
|
|
|
"${TranslationBase.of(context).searchHere}",
|
|
|
|
|
fontSize: SizeConfig
|
|
|
|
|
.textMultiplier *
|
|
|
|
|
1.8,
|
|
|
|
|
color: Colors.grey.shade700,
|
|
|
|
|
fontWeight: FontWeight.bold,
|
|
|
|
|
),
|
|
|
|
|
],
|
|
|
|
|
)),
|
|
|
|
|
1.8,
|
|
|
|
|
color: Colors.grey.shade700,
|
|
|
|
|
fontWeight: FontWeight.bold,
|
|
|
|
|
),
|
|
|
|
|
],
|
|
|
|
|
)),
|
|
|
|
|
Icon(
|
|
|
|
|
Icons.add_box_rounded,
|
|
|
|
|
size: 25,
|
|
|
|
@ -223,6 +223,18 @@ class _UpdateObjectivePageState extends State<UpdateObjectivePage> {
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
/* ...List.generate(
|
|
|
|
|
widget.mySelectedExamination.length,
|
|
|
|
|
(index) => Container(
|
|
|
|
|
child: ExaminationIitemCard(
|
|
|
|
|
widget.mySelectedExamination[
|
|
|
|
|
index], () {
|
|
|
|
|
removeExamination(widget
|
|
|
|
|
.mySelectedExamination[
|
|
|
|
|
index]
|
|
|
|
|
.selectedExamination);
|
|
|
|
|
}),
|
|
|
|
|
)),*/
|
|
|
|
|
Column(
|
|
|
|
|
children: widget.mySelectedExamination
|
|
|
|
|
.map((examination) {
|
|
|
|
|