merge-requests/445/head
mosazaid 5 years ago
parent 5f245b8c27
commit aeecc12cbe

@ -19,6 +19,7 @@ class ExaminationIitemCard extends StatelessWidget {
return Container( return Container(
color: Colors.white, color: Colors.white,
padding: EdgeInsets.all(8), padding: EdgeInsets.all(8),
margin: EdgeInsets.only(bottom: 8),
child: Column( child: Column(
crossAxisAlignment: CrossAxisAlignment.start, crossAxisAlignment: CrossAxisAlignment.start,
children: [ children: [
@ -77,15 +78,13 @@ class ExaminationIitemCard extends StatelessWidget {
SizedBox( SizedBox(
height: 4, height: 4,
), ),
Expanded( AppText(
child: AppText(
examination.remark, examination.remark,
fontWeight: FontWeight.normal, fontWeight: FontWeight.normal,
fontFamily: 'Poppins', fontFamily: 'Poppins',
color: Colors.grey.shade500, color: Colors.grey.shade500,
fontSize: SizeConfig.textMultiplier * 1.8, fontSize: SizeConfig.textMultiplier * 1.8,
), ),
),
], ],
), ),
); );

@ -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( Column(
children: widget.mySelectedExamination children: widget.mySelectedExamination
.map((examination) { .map((examination) {

Loading…
Cancel
Save