Creates a dialog based on a data structure.
dialog((YourStructure value) { // the user filled in the struct and clicked OK, // you can check the members now });
the initial value to show in the dialog. It will not modify this unless it is a class then it might, no promises.
generating_from_code
See Implementation
The overload that lets you specify initialData was added on December 30, 2021 (dub v10.5)
Creates a dialog based on a data structure.