fixed leap year buttons
This commit is contained in:
parent
2a206c8960
commit
70eb31c7c9
1 changed files with 7 additions and 5 deletions
|
@ -89,10 +89,13 @@ class PracticeThingLeap extends PracticeThing {
|
||||||
}
|
}
|
||||||
|
|
||||||
Widget getButtons(){
|
Widget getButtons(){
|
||||||
return Container(
|
return GridView.count(
|
||||||
|
primary: false,
|
||||||
|
crossAxisCount: 2,
|
||||||
padding: EdgeInsets.fromLTRB(0, 20, 0, 20),
|
padding: EdgeInsets.fromLTRB(0, 20, 0, 20),
|
||||||
child: Column(
|
mainAxisSpacing: 10,
|
||||||
mainAxisAlignment: MainAxisAlignment.center,
|
crossAxisSpacing: 10,
|
||||||
|
shrinkWrap: true,
|
||||||
children: <Widget>[
|
children: <Widget>[
|
||||||
FlatButton(
|
FlatButton(
|
||||||
onPressed: () {
|
onPressed: () {
|
||||||
|
@ -117,7 +120,6 @@ class PracticeThingLeap extends PracticeThing {
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
]
|
]
|
||||||
)
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Add table
Reference in a new issue