close property
Closes the overlay and returns the result.
Example:
context.show(
(controller) => Card(
child: ListTile(
title: const Text('Hello'),
onTap: () => controller.close('world'),
),
),
);
Implementation
final Future<void> Function([T? result]) close;