Add scroll bar to mih
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user