File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -170,9 +170,9 @@ class _ColorButtonState extends State<ColorButton> {
170
170
child: Text ('OK' .i18n)),
171
171
],
172
172
backgroundColor: Theme .of (context).canvasColor,
173
- content: SizedBox (
174
- height: 400 ,
173
+ content: SingleChildScrollView (
175
174
child: Column (
175
+ mainAxisSize: MainAxisSize .min,
176
176
children: [
177
177
Row (
178
178
children: [
@@ -192,8 +192,7 @@ class _ColorButtonState extends State<ColorButton> {
192
192
child: Text ('Color' .i18n)),
193
193
],
194
194
),
195
- Expanded (
196
- child: Column (children: [
195
+ Column (children: [
197
196
if (pickerType == 'material' )
198
197
MaterialPicker (
199
198
pickerColor: selectedColor,
@@ -253,7 +252,7 @@ class _ColorButtonState extends State<ColorButton> {
253
252
}),
254
253
],
255
254
),
256
- ]))
255
+ ])
257
256
],
258
257
),
259
258
));
You can’t perform that action at this time.
0 commit comments