fix buttom alignment accress UI

This commit is contained in:
2024-08-16 09:54:46 +02:00
parent 1879d31ae2
commit e589c4e0c1
10 changed files with 28 additions and 52 deletions

View File

@@ -176,7 +176,6 @@ class _AddPatientState extends State<AddPatient> {
editable: true,
required: true,
),
const SizedBox(height: 10.0),
MIHTextField(
controller: fnameController,
@@ -184,7 +183,6 @@ class _AddPatientState extends State<AddPatient> {
editable: false,
required: true,
),
const SizedBox(height: 10.0),
MIHTextField(
controller: lnameController,
@@ -192,34 +190,27 @@ class _AddPatientState extends State<AddPatient> {
editable: false,
required: true,
),
const SizedBox(height: 10.0),
MIHTextField(
controller: cellController,
hintText: "Cell Number",
editable: true,
required: true,
),
const SizedBox(height: 10.0),
MIHTextField(
controller: emailController,
hintText: "Email",
editable: false,
required: true,
),
const SizedBox(height: 10.0),
MIHTextField(
controller: addressController,
hintText: "Address",
editable: true,
required: true,
),
const SizedBox(height: 15.0),
Text(
"Medical Aid Details",
@@ -231,7 +222,6 @@ class _AddPatientState extends State<AddPatient> {
),
),
const SizedBox(height: 10.0),
MIHDropdownField(
controller: medAidController,
hintText: "Medical Aid",
@@ -285,9 +275,7 @@ class _AddPatientState extends State<AddPatient> {
],
),
),
//const SizedBox(height: 10.0),
const SizedBox(height: 30.0),
SizedBox(
width: 450.0,
height: 50.0,

View File

@@ -388,7 +388,6 @@ class _EditPatientState extends State<EditPatient> {
editable: false,
required: true,
),
const SizedBox(height: 10.0),
MIHTextField(
controller: fnameController,
@@ -396,7 +395,6 @@ class _EditPatientState extends State<EditPatient> {
editable: false,
required: true,
),
const SizedBox(height: 10.0),
MIHTextField(
controller: lnameController,
@@ -404,7 +402,6 @@ class _EditPatientState extends State<EditPatient> {
editable: false,
required: true,
),
const SizedBox(height: 10.0),
MIHTextField(
controller: cellController,
@@ -412,7 +409,6 @@ class _EditPatientState extends State<EditPatient> {
editable: true,
required: true,
),
const SizedBox(height: 10.0),
MIHTextField(
controller: emailController,
@@ -420,7 +416,6 @@ class _EditPatientState extends State<EditPatient> {
editable: false,
required: true,
),
const SizedBox(height: 10.0),
MIHTextField(
controller: addressController,
@@ -428,7 +423,6 @@ class _EditPatientState extends State<EditPatient> {
editable: true,
required: true,
),
const SizedBox(height: 15.0),
Text(
"Medical Aid Details",
@@ -501,8 +495,7 @@ class _EditPatientState extends State<EditPatient> {
],
),
),
//const SizedBox(height: 10.0),
const SizedBox(height: 30.0),
SizedBox(
width: 500.0,
height: 50.0,

View File

@@ -291,7 +291,7 @@ class _ProfileBusinessAddState extends State<ProfileBusinessAdd> {
required: true,
editable: false,
),
const SizedBox(height: 15.0),
const SizedBox(height: 30.0),
SizedBox(
width: 500.0,
height: 50.0,

View File

@@ -382,7 +382,7 @@ class _ProfileBusinessUpdateState extends State<ProfileBusinessUpdate> {
required: true,
editable: false,
),
const SizedBox(height: 15.0),
const SizedBox(height: 30.0),
SizedBox(
width: 500.0,
height: 50.0,

View File

@@ -213,7 +213,7 @@ class _ProfileUserUpdateState extends State<ProfileUserUpdate> {
),
),
const SizedBox(
width: 25,
width: 10,
),
Switch(
value: businessUser,
@@ -225,7 +225,7 @@ class _ProfileUserUpdateState extends State<ProfileUserUpdate> {
),
],
),
const SizedBox(height: 10.0),
const SizedBox(height: 30.0),
SizedBox(
width: 500.0,
height: 50.0,

View File

@@ -304,7 +304,7 @@ class _RegisterState extends State<Register> {
),
),
//spacer
const SizedBox(height: 10),
const SizedBox(height: 30),
// sign up button
SizedBox(
width: 500.0,
@@ -322,6 +322,7 @@ class _RegisterState extends State<Register> {
},
),
),
const SizedBox(height: 10),
//register text
SizedBox(
width: 500.0,

View File

@@ -168,7 +168,7 @@ class _SignInState extends State<SignIn> {
),
),
//spacer
const SizedBox(height: 10),
const SizedBox(height: 30),
// sign in button
SizedBox(
width: 500.0,
@@ -187,7 +187,7 @@ class _SignInState extends State<SignIn> {
),
),
//spacer
//const SizedBox(height: 30),
const SizedBox(height: 10),
//register text
SizedBox(
width: 500.0,
@@ -217,9 +217,6 @@ class _SignInState extends State<SignIn> {
),
),
),
const SizedBox(
width: 15,
),
],
),
)