remove wrap from settings
This commit is contained in:
@@ -118,40 +118,30 @@ class _MihPersonalSettingsState extends State<MihPersonalSettings> {
|
|||||||
),
|
),
|
||||||
),
|
),
|
||||||
const SizedBox(height: 10.0),
|
const SizedBox(height: 10.0),
|
||||||
Wrap(
|
Text(
|
||||||
spacing: 10,
|
"Would you like to delete your MIH account?",
|
||||||
runSpacing: 10,
|
textAlign: TextAlign.center,
|
||||||
alignment: WrapAlignment.center,
|
style: TextStyle(
|
||||||
crossAxisAlignment: WrapCrossAlignment.center,
|
fontSize: 18,
|
||||||
children: [
|
fontWeight: FontWeight.bold,
|
||||||
Text(
|
color: MzanziInnovationHub.of(context)!.theme.secondaryColor(),
|
||||||
"Would you like to delete your MIH account?",
|
),
|
||||||
textAlign: TextAlign.center,
|
),
|
||||||
style: TextStyle(
|
const SizedBox(height: 10.0),
|
||||||
fontSize: 18,
|
MihButton(
|
||||||
fontWeight: FontWeight.bold,
|
onPressed: () {
|
||||||
color:
|
deleteAccountPopUp(context);
|
||||||
MzanziInnovationHub.of(context)!.theme.secondaryColor(),
|
},
|
||||||
),
|
buttonColor: MzanziInnovationHub.of(context)!.theme.errorColor(),
|
||||||
|
width: 300,
|
||||||
|
child: Text(
|
||||||
|
"Delete Account",
|
||||||
|
style: TextStyle(
|
||||||
|
color: MzanziInnovationHub.of(context)!.theme.primaryColor(),
|
||||||
|
fontSize: 20,
|
||||||
|
fontWeight: FontWeight.bold,
|
||||||
),
|
),
|
||||||
MihButton(
|
),
|
||||||
onPressed: () {
|
|
||||||
deleteAccountPopUp(context);
|
|
||||||
},
|
|
||||||
buttonColor:
|
|
||||||
MzanziInnovationHub.of(context)!.theme.errorColor(),
|
|
||||||
width: 300,
|
|
||||||
child: Text(
|
|
||||||
"Delete Account",
|
|
||||||
style: TextStyle(
|
|
||||||
color:
|
|
||||||
MzanziInnovationHub.of(context)!.theme.primaryColor(),
|
|
||||||
fontSize: 20,
|
|
||||||
fontWeight: FontWeight.bold,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
),
|
|
||||||
],
|
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in New Issue
Block a user