MBInAppMessageManager class

Main class that manages the displaying of in-app messages, and keeps references of what messages have already been displayed.

Constructors

MBInAppMessageManager()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

presentMessages({required List<MBMessage> messages, bool ignoreShowedMessages = false, MBInAppMessageTheme themeForMessage(BuildContext, MBInAppMessage)?, dynamic onButtonPressed(MBInAppMessageButton)?}) → void
Present an array of in-app messages, if they're not been already presented @param messages The messages that needs to be presented @param ignoreShowedMessages if this is true a message will be displayed even if it has already been displayed @param themeForMessage A function that provides the theme of an in-app message. @param onButtonPressed Function called when a button is pressed.