fixed leap year buttons

This commit is contained in:
BroodjeAap 2020-12-30 14:59:58 +01:00
parent 2a206c8960
commit 70eb31c7c9

View file

@ -89,10 +89,13 @@ class PracticeThingLeap extends PracticeThing {
}
Widget getButtons(){
return Container(
return GridView.count(
primary: false,
crossAxisCount: 2,
padding: EdgeInsets.fromLTRB(0, 20, 0, 20),
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
mainAxisSpacing: 10,
crossAxisSpacing: 10,
shrinkWrap: true,
children: <Widget>[
FlatButton(
onPressed: () {
@ -117,7 +120,6 @@ class PracticeThingLeap extends PracticeThing {
)
)
]
)
);
}
}