MBInAppMessageTheme constructor

const MBInAppMessageTheme({
  1. Color? backgroundColor,
  2. TextStyle? titleStyle,
  3. TextStyle? bodyStyle,
  4. Color? closeButtonColor,
  5. Color? closeButtonBackgroundColor,
  6. Color? button1BackgroundColor,
  7. TextStyle? button1TextStyle,
  8. double? button1BorderRadius,
  9. Color? button2BackgroundColor,
  10. Color? button2BorderColor,
  11. TextStyle? button2TextStyle,
  12. 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,
});