Add button for beginers guide
This commit is contained in:
@@ -84,19 +84,43 @@ class _MIHAboutState extends State<MIHAbout> {
|
|||||||
const SizedBox(
|
const SizedBox(
|
||||||
height: 10,
|
height: 10,
|
||||||
),
|
),
|
||||||
SizedBox(
|
Wrap(
|
||||||
width: 300,
|
alignment: WrapAlignment.start,
|
||||||
height: 50,
|
crossAxisAlignment: WrapCrossAlignment.start,
|
||||||
child: MIHButton(
|
spacing: 10,
|
||||||
onTap: () {
|
runSpacing: 10,
|
||||||
js.context.callMethod("presentAddToHome");
|
children: [
|
||||||
},
|
SizedBox(
|
||||||
buttonText: "Install MIH",
|
width: 300,
|
||||||
buttonColor:
|
height: 50,
|
||||||
MzanziInnovationHub.of(context)!.theme.secondaryColor(),
|
child: MIHButton(
|
||||||
textColor: MzanziInnovationHub.of(context)!.theme.primaryColor(),
|
onTap: () {
|
||||||
),
|
js.context.callMethod("presentAddToHome");
|
||||||
),
|
},
|
||||||
|
buttonText: "Install MIH",
|
||||||
|
buttonColor:
|
||||||
|
MzanziInnovationHub.of(context)!.theme.secondaryColor(),
|
||||||
|
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,
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in New Issue
Block a user