We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 42274f5 commit bec2442Copy full SHA for bec2442
lib/main.dart
@@ -228,6 +228,7 @@ class _PickerThemeDialogState extends State<PickerThemeDialog> {
228
itemSize - checkBoxSize + checkBoxSize * 0.8 / 2);
229
var pickerIndex = context.watch<MainStore>().pickPrimaryColorIndex;
230
return AlertDialog(
231
+ actionsAlignment: MainAxisAlignment.center,
232
content: ConstrainedBox(
233
constraints: const BoxConstraints(maxWidth: 360),
234
child: Column(
@@ -294,6 +295,11 @@ class _PickerThemeDialogState extends State<PickerThemeDialog> {
294
295
],
296
),
297
298
+ actions: [
299
+ TextButton(
300
+ onPressed: () => Navigator.of(context).pop(),
301
+ child: Text('confirm'))
302
+ ],
303
);
304
}
305
0 commit comments