MBInAppMessageCenter constructor

const MBInAppMessageCenter({
  1. Key? key,
  2. required BuildContext mainContext,
  3. required MBMessage message,
  4. required dynamic onButtonPressed(
    1. MBInAppMessageButton
    )?,
  5. required MBInAppMessageTheme theme,
})

Initializes a MBInAppMessageCenter with the parameters passed

Implementation

const MBInAppMessageCenter({
  super.key,
  required this.mainContext,
  required this.message,
  required this.onButtonPressed,
  required this.theme,
});