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(){
|
||||
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 {
|
|||
)
|
||||
)
|
||||
]
|
||||
)
|
||||
);
|
||||
}
|
||||
}
|
Loading…
Add table
Reference in a new issue