MBInAppMessage constructor
MBInAppMessage({
- required int id,
- required MBInAppMessageStyle style,
- required bool isBlocking,
- required double duration,
- required String? title,
- required Color? titleColor,
- required String? body,
- required Color? bodyColor,
- required String? image,
- required Color? backgroundColor,
- required List<
MBInAppMessageButton> ? buttons,
Initializes a message with the parameters passed
Implementation
MBInAppMessage({
required this.id,
required this.style,
required this.isBlocking,
required this.duration,
required this.title,
required this.titleColor,
required this.body,
required this.bodyColor,
required this.image,
required this.backgroundColor,
required this.buttons,
});