openStash method
A helper function for opening the creator from any page in the application for editing purposes.
Implementation
Future<void> openStash({
required Function(String) onSelect,
required Function(String) onSearch,
}) async {
await showDialog(
context: _navigatorKey.currentContext!,
builder: (context) => OpenStashDialogPage(
onSelect: onSelect,
onSearch: onSearch,
),
);
}