Tweak widths for ResponsiveDialog.

This commit is contained in:
Dain Nilsson 2023-08-22 16:39:26 +02:00
parent c33a2e72bf
commit 5f4835c1bb
No known key found for this signature in database
GPG Key ID: F04367096FBA95E8

View File

@ -78,7 +78,7 @@ class _ResponsiveDialogState extends State<ResponsiveDialog> {
scrollable: true,
contentPadding: const EdgeInsets.symmetric(vertical: 8),
content: SizedBox(
width: 380,
width: 550,
child: Container(key: _childKey, child: widget.child),
),
actions: [
@ -107,7 +107,7 @@ class _ResponsiveDialogState extends State<ResponsiveDialog> {
_hasLostFocus = true;
}
},
child: constraints.maxWidth < 540
child: constraints.maxWidth < 400
? _buildFullscreen(context)
: _buildDialog(context),
);