interaction_manager library

Classes

InteractionConnector
InteractionManager
The InteractionManager allows you to display dialogs and push Routes from anywhere in your code even from places where this is normally not possible because you might not have a BuildContext available like from your business logic. To make this possible you have to register builder functions for your dialogs and add an InteractionConnector widget directly above your Material/CupertinoApp like
MessageDialog
MessageDialogConfig
NetworkConfiguration
NetworkConfigurationDialog
NetworkConfigurationDialogConfig
NetWorkConfigurationWidget
NetWorkConfigurationWidgetState

Typedefs

DialogBuilderFunc<T> = Widget Function(BuildContext, T)
To register a dialog you have to provide a builder function that returns the content of the dialog that has this signatur. The generic parameter T defines the type of data that you want to pass when the dialog should be displayed. It will be passed to the builder function