I wanna make simple apps that use SingleChilde Scrollview with a pageview in flutter like this :
so I was read an article but I didn't find the article that will able to make my apps.
and this is the list will be able to use on these apps :
the password is (password: kucingidn)
@override
Widget build(BuildContext ctxt) {
return new Scaffold(
body: ListView.builder(
shrinkWrap: true,
scrollDirection: Axis.vertical,
padding: new EdgeInsets.only(right: 13.0),
itemCount: doa.length,
itemBuilder: (BuildContext ctxt, int index) {
final doaIndonesia = doa[index].toString();
final doaArab = doa_arab[index].toString();
final artiIndonesia = arti[index].toString();
return Card(
child: Container(
height: 100.0,
width: 100.0,
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: <Widget>[
Flexible( // use flexible
child: Text(
doa[index],
textAlign: TextAlign.center,
),
),
Flexible( // use flexible
child: Text(
doa_arab[index],
textAlign: TextAlign.center,
),
),
Flexible( // use flexible
child: Text(
arti[index],
textAlign: TextAlign.center,
),
),
],
),
),
);
},
),
);
}
}
anyone can help me, I have a deadline for this