showExportDialog function
Asks for the export's format and resolution, starting from initial.
Null when cancelled (Cancel, Escape or a tap outside).
Implementation
Future<ExportChoice?> showExportDialog(
BuildContext context, ExportChoice initial) =>
showDialog<ExportChoice>(
context: context,
builder: (_) => _ExportDialog(initial: initial),
);