fix wraping of medical aid details
This commit is contained in:
@@ -110,55 +110,64 @@ class _PatientDetailsState extends State<PatientDetails> {
|
|||||||
medAidDet.addAll([
|
medAidDet.addAll([
|
||||||
Visibility(
|
Visibility(
|
||||||
visible: req,
|
visible: req,
|
||||||
child: Column(
|
child: SizedBox(
|
||||||
children: [
|
width: textFieldWidth,
|
||||||
SizedBox(
|
child: MyTextField(
|
||||||
width: textFieldWidth,
|
controller: medMainMemController,
|
||||||
child: MyTextField(
|
hintText: "Main Member",
|
||||||
controller: medMainMemController,
|
editable: false,
|
||||||
hintText: "Main Member",
|
required: false),
|
||||||
editable: false,
|
|
||||||
required: false),
|
|
||||||
),
|
|
||||||
const SizedBox(height: 10.0),
|
|
||||||
SizedBox(
|
|
||||||
width: textFieldWidth,
|
|
||||||
child: MyTextField(
|
|
||||||
controller: medNoController,
|
|
||||||
hintText: "No.",
|
|
||||||
editable: false,
|
|
||||||
required: false),
|
|
||||||
),
|
|
||||||
const SizedBox(height: 10.0),
|
|
||||||
SizedBox(
|
|
||||||
width: textFieldWidth,
|
|
||||||
child: MyTextField(
|
|
||||||
controller: medAidCodeController,
|
|
||||||
hintText: "Code",
|
|
||||||
editable: false,
|
|
||||||
required: false),
|
|
||||||
),
|
|
||||||
const SizedBox(height: 10.0),
|
|
||||||
SizedBox(
|
|
||||||
width: textFieldWidth,
|
|
||||||
child: MyTextField(
|
|
||||||
controller: medNameController,
|
|
||||||
hintText: "Name",
|
|
||||||
editable: false,
|
|
||||||
required: false),
|
|
||||||
),
|
|
||||||
const SizedBox(height: 10.0),
|
|
||||||
SizedBox(
|
|
||||||
width: textFieldWidth,
|
|
||||||
child: MyTextField(
|
|
||||||
controller: medSchemeController,
|
|
||||||
hintText: "Scheme",
|
|
||||||
editable: false,
|
|
||||||
required: false),
|
|
||||||
),
|
|
||||||
],
|
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
//const SizedBox(height: 10.0),
|
||||||
|
Visibility(
|
||||||
|
visible: req,
|
||||||
|
child: SizedBox(
|
||||||
|
width: textFieldWidth,
|
||||||
|
child: MyTextField(
|
||||||
|
controller: medNoController,
|
||||||
|
hintText: "No.",
|
||||||
|
editable: false,
|
||||||
|
required: false),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
//const SizedBox(height: 10.0),
|
||||||
|
Visibility(
|
||||||
|
visible: req,
|
||||||
|
child: SizedBox(
|
||||||
|
width: textFieldWidth,
|
||||||
|
child: MyTextField(
|
||||||
|
controller: medAidCodeController,
|
||||||
|
hintText: "Code",
|
||||||
|
editable: false,
|
||||||
|
required: false),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
//const SizedBox(height: 10.0),
|
||||||
|
Visibility(
|
||||||
|
visible: req,
|
||||||
|
child: SizedBox(
|
||||||
|
width: textFieldWidth,
|
||||||
|
child: MyTextField(
|
||||||
|
controller: medNameController,
|
||||||
|
hintText: "Name",
|
||||||
|
editable: false,
|
||||||
|
required: false),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
//const SizedBox(height: 10.0),
|
||||||
|
Visibility(
|
||||||
|
visible: req,
|
||||||
|
child: SizedBox(
|
||||||
|
width: textFieldWidth,
|
||||||
|
child: MyTextField(
|
||||||
|
controller: medSchemeController,
|
||||||
|
hintText: "Scheme",
|
||||||
|
editable: false,
|
||||||
|
required: false),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
//),
|
||||||
]);
|
]);
|
||||||
|
|
||||||
return Wrap(
|
return Wrap(
|
||||||
|
|||||||
Reference in New Issue
Block a user