contextCallback property

(BuildContext Function()?) contextCallback
getter/setter pair

A function to provide the BuildContext to show in-app messages. To present in-app messages MBMessages uses the showDialog function that needs a BuildContext. If you use a MBMessagesBuilder you don't have to set this and it will be handled automatically.

Implementation

static BuildContext Function()? contextCallback;