@@ -69,66 +69,69 @@ class _MyHomePageState extends State<MyHomePage> {
69
69
backgroundColor: Theme .of (context).colorScheme.inversePrimary,
70
70
title: Text (widget.title),
71
71
),
72
- body: Center (
73
- child: Column (
74
- mainAxisAlignment: MainAxisAlignment .center,
75
- children: [
76
- ElevatedButton (
77
- onPressed: () {
78
- Navigator .of (context).push (
79
- MaterialPageRoute (builder: (_) => const DefectsScreen ()),
80
- );
81
- },
82
- child: const Text ('Defects Test' ),
83
- ),
84
- ElevatedButton (
85
- onPressed: () {
86
- Navigator .of (context).push (
87
- MaterialPageRoute (builder: (_) => const NestingScreen ()),
88
- );
89
- },
90
- child: const Text ('Nesting Test' ),
91
- ),
92
- ElevatedButton (
93
- onPressed: () {
94
- Navigator .of (context).push (
95
- MaterialPageRoute (builder: (_) => const SwipingScreen ()),
96
- );
97
- },
98
- child: const Text ('Swipe Test' ),
99
- ),
100
- ElevatedButton (
101
- onPressed: () {
102
- Navigator .of (context).push (
103
- MaterialPageRoute (builder: (_) => const FormScreen ()),
104
- );
105
- },
106
- child: const Text ('Form Test' ),
107
- ),
108
- ElevatedButton (
109
- onPressed: () {
110
- Navigator .of (context).push (
111
- MaterialPageRoute (builder: (_) => const Issue1677Repro ()),
112
- );
113
- },
114
- child: const Text ('issue 1677 repro' ),
115
- ),
116
- ElevatedButton (
117
- onPressed: () {
118
- Navigator .of (context).push (
119
- MaterialPageRoute (builder: (_) => const Issue1619Repro ()),
120
- );
121
- },
122
- child: const Text ('issue 1619 repro' ),
123
- ),
124
- const Text (
125
- 'You have pushed the button this many times' ,
126
- ),
127
- Text (
128
- '$_counter ' ,
129
- style: Theme .of (context).textTheme.headlineMedium,
130
- ),
131
- ],
72
+ body: SingleChildScrollView (
73
+ child: Center (
74
+ child: Column (
75
+ mainAxisAlignment: MainAxisAlignment .center,
76
+ crossAxisAlignment: CrossAxisAlignment .center,
77
+ children: [
78
+ ElevatedButton (
79
+ onPressed: () {
80
+ Navigator .of (context).push (
81
+ MaterialPageRoute (builder: (_) => const DefectsScreen ()),
82
+ );
83
+ },
84
+ child: const Text ('Defects Test' ),
85
+ ),
86
+ ElevatedButton (
87
+ onPressed: () {
88
+ Navigator .of (context).push (
89
+ MaterialPageRoute (builder: (_) => const NestingScreen ()),
90
+ );
91
+ },
92
+ child: const Text ('Nesting Test' ),
93
+ ),
94
+ ElevatedButton (
95
+ onPressed: () {
96
+ Navigator .of (context).push (
97
+ MaterialPageRoute (builder: (_) => const SwipingScreen ()),
98
+ );
99
+ },
100
+ child: const Text ('Swipe Test' ),
101
+ ),
102
+ ElevatedButton (
103
+ onPressed: () {
104
+ Navigator .of (context).push (
105
+ MaterialPageRoute (builder: (_) => const FormScreen ()),
106
+ );
107
+ },
108
+ child: const Text ('Form Test' ),
109
+ ),
110
+ ElevatedButton (
111
+ onPressed: () {
112
+ Navigator .of (context).push (
113
+ MaterialPageRoute (builder: (_) => const Issue1677Repro ()),
114
+ );
115
+ },
116
+ child: const Text ('issue 1677 repro' ),
117
+ ),
118
+ ElevatedButton (
119
+ onPressed: () {
120
+ Navigator .of (context).push (
121
+ MaterialPageRoute (builder: (_) => const Issue1619Repro ()),
122
+ );
123
+ },
124
+ child: const Text ('issue 1619 repro' ),
125
+ ),
126
+ const Text (
127
+ 'You have pushed the button this many times' ,
128
+ ),
129
+ Text (
130
+ '$_counter ' ,
131
+ style: Theme .of (context).textTheme.headlineMedium,
132
+ ),
133
+ ],
134
+ ),
132
135
),
133
136
),
134
137
floatingActionButton: Semantics (
0 commit comments