Browse Source

Added close button to new project dialog

master
Kenneth Bruen 3 years ago
parent
commit
19ddc565ed
Signed by: kbruen
GPG Key ID: C1980A470C3EE5B1
  1. 10
      lib/dialogs/new_project.dart

10
lib/dialogs/new_project.dart

@ -27,6 +27,16 @@ class NewProjectDialog extends HookWidget {
crossAxisAlignment: CrossAxisAlignment.stretch,
mainAxisSize: MainAxisSize.min,
children: [
Align(
alignment: Alignment.centerRight,
child: IconButton(
icon: const Icon(Icons.close),
tooltip: 'Close',
onPressed: () {
Navigator.of(context).pop();
},
),
),
Center(
child: Padding(
padding: const EdgeInsets.all(8.0),

Loading…
Cancel
Save