MBInAppMessageTheme constructor
const
MBInAppMessageTheme({
- Color? backgroundColor,
- TextStyle? titleStyle,
- TextStyle? bodyStyle,
- Color? closeButtonColor,
- Color? closeButtonBackgroundColor,
- Color? button1BackgroundColor,
- TextStyle? button1TextStyle,
- double? button1BorderRadius,
- Color? button2BackgroundColor,
- Color? button2BorderColor,
- TextStyle? button2TextStyle,
- double? button2BorderRadius,
Initializes a new in-app message theme with the parameters passed.
Implementation
const MBInAppMessageTheme({
this.backgroundColor,
this.titleStyle,
this.bodyStyle,
this.closeButtonColor,
this.closeButtonBackgroundColor,
this.button1BackgroundColor,
this.button1TextStyle,
this.button1BorderRadius,
this.button2BackgroundColor,
this.button2BorderColor,
this.button2TextStyle,
this.button2BorderRadius,
});