@@ -36,11 +36,11 @@ class _MyHomePageState extends State<MyHomePage> {
36
36
Widget build(BuildContext context) {
37
37
return Scaffold(
38
38
// appBar: AppBar(title: Text(widget.title)),
39
- body: Padding (
40
- padding: const EdgeInsets.all(18.0),
41
- child: SingleChildScrollView(
42
- child: Form (
43
- key: _formKey ,
39
+ body: SingleChildScrollView (
40
+ child: Form(
41
+ key: _formKey,
42
+ child: Padding (
43
+ padding: const EdgeInsets.all(20.0) ,
44
44
child: Column(
45
45
mainAxisAlignment: MainAxisAlignment.center,
46
46
crossAxisAlignment: CrossAxisAlignment.center,
@@ -104,7 +104,7 @@ class _MyHomePageState extends State<MyHomePage> {
104
104
const Divider(height: 50),
105
105
Row(
106
106
crossAxisAlignment: CrossAxisAlignment.start,
107
- mainAxisAlignment: MainAxisAlignment.spaceBetween ,
107
+ mainAxisAlignment: MainAxisAlignment.spaceAround ,
108
108
children: [
109
109
Column(
110
110
children: [
@@ -134,10 +134,11 @@ class _MyHomePageState extends State<MyHomePage> {
134
134
Column(
135
135
children: [
136
136
const Padding(
137
- padding: EdgeInsets.all(8.0),
138
- child: Text(
139
- 'Message builder',
140
- )),
137
+ padding: EdgeInsets.only(bottom: 8.0),
138
+ child: Text(
139
+ 'Message builder',
140
+ ),
141
+ ),
141
142
InputQty(
142
143
initVal: 0,
143
144
minVal: -100,
@@ -170,7 +171,7 @@ class _MyHomePageState extends State<MyHomePage> {
170
171
const Divider(height: 50),
171
172
const Row(
172
173
crossAxisAlignment: CrossAxisAlignment.start,
173
- mainAxisAlignment: MainAxisAlignment.spaceBetween ,
174
+ mainAxisAlignment: MainAxisAlignment.spaceAround ,
174
175
children: [
175
176
Column(
176
177
children: [
@@ -187,15 +188,19 @@ class _MyHomePageState extends State<MyHomePage> {
187
188
Center(
188
189
child: Text(
189
190
"OR",
190
- style: TextStyle(fontSize: 20, color: Colors.black),
191
+ style: TextStyle(
192
+ fontSize: 20,
193
+ color: Colors.black,
194
+ ),
191
195
)),
192
196
Column(
193
197
children: [
194
198
Padding(
195
- padding: EdgeInsets.all(8.0),
196
- child: Text(
197
- 'double',
198
- )),
199
+ padding: EdgeInsets.all(8.0),
200
+ child: Text(
201
+ 'double',
202
+ ),
203
+ ),
199
204
InputQty(
200
205
// decimalPlaces: 4,
201
206
initVal: 0.0,
@@ -251,7 +256,7 @@ class _MyHomePageState extends State<MyHomePage> {
251
256
const SizedBox(height: 12),
252
257
253
258
Row(
254
- mainAxisAlignment: MainAxisAlignment.spaceBetween ,
259
+ mainAxisAlignment: MainAxisAlignment.spaceAround ,
255
260
children: [
256
261
InputQty.int(
257
262
messageBuilder: (minVal, maxVal, value) => const Text(
@@ -280,7 +285,10 @@ class _MyHomePageState extends State<MyHomePage> {
280
285
],
281
286
),
282
287
const SizedBox(height: 30),
283
-
288
+ const InputQty(
289
+ decoration: QtyDecorationProps(
290
+ orientation: ButtonOrientation.vertical),
291
+ ),
284
292
InputQty.int(
285
293
messageBuilder: (minVal, maxVal, value) =>
286
294
const Text("Classic", textAlign: TextAlign.center),
@@ -293,7 +301,7 @@ class _MyHomePageState extends State<MyHomePage> {
293
301
),
294
302
const SizedBox(height: 30),
295
303
Row(
296
- mainAxisAlignment: MainAxisAlignment.spaceBetween ,
304
+ mainAxisAlignment: MainAxisAlignment.spaceAround ,
297
305
children: [
298
306
InputQty.int(
299
307
messageBuilder: (minVal, maxVal, value) => const Text(
0 commit comments