QOL: About MIH button placement

This commit is contained in:
2025-11-21 09:33:45 +02:00
parent a4d510f023
commit 70413cc294

View File

@@ -794,29 +794,9 @@ class _MihInfoState extends State<MihInfo> {
fontSize: 15,
),
),
// ===================== Divider
// Padding(
// padding: EdgeInsets.symmetric(
// vertical: 10.0,
// horizontal: 25,
// ),
// child: Divider(
// thickness: 1,
// color: MihColors.getGreyColor(
// MzansiInnovationHub.of(context)!.theme.mode == "Dark"),
// ),
// ),
const SizedBox(
height: 10,
),
// Text(
// "The MIH Community",
// textAlign: TextAlign.center,
// style: TextStyle(
// fontWeight: FontWeight.bold,
// fontSize: 22,
// ),
// ),
Wrap(
alignment: WrapAlignment.spaceAround,
crossAxisAlignment: WrapCrossAlignment.center,
@@ -835,37 +815,8 @@ class _MihInfoState extends State<MihInfo> {
fontSize: 22,
),
),
// ===================== Divider
Padding(
padding: EdgeInsets.symmetric(
vertical: 10.0,
horizontal: 25,
),
child: Divider(
thickness: 1,
color: MihColors.getGreyColor(
MzansiInnovationHub.of(context)!.theme.mode == "Dark"),
),
),
// const SizedBox(
// height: 10,
// ),
Padding(
padding: const EdgeInsets.symmetric(horizontal: 25.0),
child: Wrap(
alignment: WrapAlignment.start,
crossAxisAlignment: WrapCrossAlignment.start,
spacing: 10,
runSpacing: 10,
children: [
womenForChange(),
ourVision(),
ourMission(),
],
),
),
const SizedBox(
height: 25,
height: 10,
),
Wrap(
alignment: WrapAlignment.center,
@@ -878,8 +829,7 @@ class _MihInfoState extends State<MihInfo> {
MihInstallServices().installMihTrigger(context);
},
buttonColor: MihColors.getGreenColor(
MzansiInnovationHub.of(context)!.theme.mode ==
"Dark"),
MzansiInnovationHub.of(context)!.theme.mode == "Dark"),
width: 300,
child: getInstallButtonText(),
),
@@ -892,8 +842,7 @@ class _MihInfoState extends State<MihInfo> {
);
},
buttonColor: MihColors.getGreenColor(
MzansiInnovationHub.of(context)!.theme.mode ==
"Dark"),
MzansiInnovationHub.of(context)!.theme.mode == "Dark"),
width: 300,
child: Row(
mainAxisAlignment: MainAxisAlignment.center,
@@ -927,8 +876,7 @@ class _MihInfoState extends State<MihInfo> {
);
},
buttonColor: MihColors.getGreenColor(
MzansiInnovationHub.of(context)!.theme.mode ==
"Dark"),
MzansiInnovationHub.of(context)!.theme.mode == "Dark"),
width: 300,
child: Row(
mainAxisAlignment: MainAxisAlignment.center,
@@ -953,7 +901,40 @@ class _MihInfoState extends State<MihInfo> {
],
),
),
]),
],
),
const SizedBox(
height: 10,
),
// // ===================== Divider
Padding(
padding: EdgeInsets.symmetric(
vertical: 10.0,
horizontal: 25,
),
child: Divider(
thickness: 1,
color: MihColors.getGreyColor(
MzansiInnovationHub.of(context)!.theme.mode == "Dark"),
),
),
Padding(
padding: const EdgeInsets.symmetric(horizontal: 25.0),
child: Wrap(
alignment: WrapAlignment.start,
crossAxisAlignment: WrapCrossAlignment.start,
spacing: 10,
runSpacing: 10,
children: [
womenForChange(),
ourVision(),
ourMission(),
],
),
),
const SizedBox(
height: 25,
),
const SizedBox(
height: 10,
),