Added constrained box

This commit is contained in:
Harinandan 2022-01-19 23:52:12 +05:30
parent fd98b192af
commit 907b10b783

View File

@ -24,9 +24,10 @@ class _SettingsDialogState extends State<SettingsDialog> {
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(10),
),
title: SizedBox(
height: 600,
width: 800,
title: ConstrainedBox(
constraints: const BoxConstraints(
maxHeight: 600,
),
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [