|
|
@ -170,9 +170,9 @@ class _ColorButtonState extends State<ColorButton> { |
|
|
|
child: Text('OK'.i18n)), |
|
|
|
child: Text('OK'.i18n)), |
|
|
|
], |
|
|
|
], |
|
|
|
backgroundColor: Theme.of(context).canvasColor, |
|
|
|
backgroundColor: Theme.of(context).canvasColor, |
|
|
|
content: SizedBox( |
|
|
|
content: SingleChildScrollView( |
|
|
|
height: 400, |
|
|
|
|
|
|
|
child: Column( |
|
|
|
child: Column( |
|
|
|
|
|
|
|
mainAxisSize: MainAxisSize.min, |
|
|
|
children: [ |
|
|
|
children: [ |
|
|
|
Row( |
|
|
|
Row( |
|
|
|
children: [ |
|
|
|
children: [ |
|
|
@ -192,8 +192,7 @@ class _ColorButtonState extends State<ColorButton> { |
|
|
|
child: Text('Color'.i18n)), |
|
|
|
child: Text('Color'.i18n)), |
|
|
|
], |
|
|
|
], |
|
|
|
), |
|
|
|
), |
|
|
|
Expanded( |
|
|
|
Column(children: [ |
|
|
|
child: Column(children: [ |
|
|
|
|
|
|
|
if (pickerType == 'material') |
|
|
|
if (pickerType == 'material') |
|
|
|
MaterialPicker( |
|
|
|
MaterialPicker( |
|
|
|
pickerColor: selectedColor, |
|
|
|
pickerColor: selectedColor, |
|
|
@ -253,7 +252,7 @@ class _ColorButtonState extends State<ColorButton> { |
|
|
|
}), |
|
|
|
}), |
|
|
|
], |
|
|
|
], |
|
|
|
), |
|
|
|
), |
|
|
|
])) |
|
|
|
]) |
|
|
|
], |
|
|
|
], |
|
|
|
), |
|
|
|
), |
|
|
|
)); |
|
|
|
)); |
|
|
|