Add button for beginers guide

This commit is contained in:
2024-11-04 09:11:16 +02:00
parent 18f35a176e
commit c1036afff4

View File

@@ -84,6 +84,12 @@ class _MIHAboutState extends State<MIHAbout> {
const SizedBox( const SizedBox(
height: 10, height: 10,
), ),
Wrap(
alignment: WrapAlignment.start,
crossAxisAlignment: WrapCrossAlignment.start,
spacing: 10,
runSpacing: 10,
children: [
SizedBox( SizedBox(
width: 300, width: 300,
height: 50, height: 50,
@@ -94,9 +100,27 @@ class _MIHAboutState extends State<MIHAbout> {
buttonText: "Install MIH", buttonText: "Install MIH",
buttonColor: buttonColor:
MzanziInnovationHub.of(context)!.theme.secondaryColor(), MzanziInnovationHub.of(context)!.theme.secondaryColor(),
textColor: MzanziInnovationHub.of(context)!.theme.primaryColor(), textColor:
MzanziInnovationHub.of(context)!.theme.primaryColor(),
), ),
), ),
SizedBox(
width: 300,
height: 50,
child: MIHButton(
onTap: () {
html.window.open(
'https://www.youtube.com/playlist?list=PLuT35kJIui0H5kXjxNOZlHoOPZbQLr4qh',
'new tab');
},
buttonText: "MIH Benigners Guide",
buttonColor:
MzanziInnovationHub.of(context)!.theme.secondaryColor(),
textColor:
MzanziInnovationHub.of(context)!.theme.primaryColor(),
),
),
]),
const SizedBox( const SizedBox(
height: 10, height: 10,
), ),