fix wraping of medical aid details
This commit is contained in:
@@ -110,9 +110,7 @@ class _PatientDetailsState extends State<PatientDetails> {
|
||||
medAidDet.addAll([
|
||||
Visibility(
|
||||
visible: req,
|
||||
child: Column(
|
||||
children: [
|
||||
SizedBox(
|
||||
child: SizedBox(
|
||||
width: textFieldWidth,
|
||||
child: MyTextField(
|
||||
controller: medMainMemController,
|
||||
@@ -120,8 +118,11 @@ class _PatientDetailsState extends State<PatientDetails> {
|
||||
editable: false,
|
||||
required: false),
|
||||
),
|
||||
const SizedBox(height: 10.0),
|
||||
SizedBox(
|
||||
),
|
||||
//const SizedBox(height: 10.0),
|
||||
Visibility(
|
||||
visible: req,
|
||||
child: SizedBox(
|
||||
width: textFieldWidth,
|
||||
child: MyTextField(
|
||||
controller: medNoController,
|
||||
@@ -129,8 +130,11 @@ class _PatientDetailsState extends State<PatientDetails> {
|
||||
editable: false,
|
||||
required: false),
|
||||
),
|
||||
const SizedBox(height: 10.0),
|
||||
SizedBox(
|
||||
),
|
||||
//const SizedBox(height: 10.0),
|
||||
Visibility(
|
||||
visible: req,
|
||||
child: SizedBox(
|
||||
width: textFieldWidth,
|
||||
child: MyTextField(
|
||||
controller: medAidCodeController,
|
||||
@@ -138,8 +142,11 @@ class _PatientDetailsState extends State<PatientDetails> {
|
||||
editable: false,
|
||||
required: false),
|
||||
),
|
||||
const SizedBox(height: 10.0),
|
||||
SizedBox(
|
||||
),
|
||||
//const SizedBox(height: 10.0),
|
||||
Visibility(
|
||||
visible: req,
|
||||
child: SizedBox(
|
||||
width: textFieldWidth,
|
||||
child: MyTextField(
|
||||
controller: medNameController,
|
||||
@@ -147,8 +154,11 @@ class _PatientDetailsState extends State<PatientDetails> {
|
||||
editable: false,
|
||||
required: false),
|
||||
),
|
||||
const SizedBox(height: 10.0),
|
||||
SizedBox(
|
||||
),
|
||||
//const SizedBox(height: 10.0),
|
||||
Visibility(
|
||||
visible: req,
|
||||
child: SizedBox(
|
||||
width: textFieldWidth,
|
||||
child: MyTextField(
|
||||
controller: medSchemeController,
|
||||
@@ -156,9 +166,8 @@ class _PatientDetailsState extends State<PatientDetails> {
|
||||
editable: false,
|
||||
required: false),
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
//),
|
||||
]);
|
||||
|
||||
return Wrap(
|
||||
|
||||
Reference in New Issue
Block a user