Add scroll bar to mih
This commit is contained in:
parent
f8a722eb50
commit
103ccdc022
28 changed files with 205 additions and 168 deletions
|
|
@ -626,6 +626,7 @@ class _MineSweeperGameState extends State<MineSweeperGame> {
|
|||
alignment: Alignment.topCenter,
|
||||
children: [
|
||||
MihSingleChildScroll(
|
||||
scrollbarOn: true,
|
||||
child: board.isEmpty && squaresLeft < 0
|
||||
// Start Up Message before setting up game
|
||||
? Padding(
|
||||
|
|
|
|||
|
|
@ -845,6 +845,7 @@ class _MineSweeperQuickStartGuideState
|
|||
|
||||
Widget getBody(double width) {
|
||||
return MihSingleChildScroll(
|
||||
scrollbarOn: true,
|
||||
child: Padding(
|
||||
padding: EdgeInsets.symmetric(horizontal: width / 20),
|
||||
child: Column(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue