MBInAppMessageButton class

This class represent a button of an in app message

Constructors

MBInAppMessageButton({required String title, required Color? titleColor, required Color? backgroundColor, required String? link, required int? blockId, required int? sectionId, required String linkTypeString})
Initializes a button with the parameters passed

Properties

backgroundColor → Color?
An optional background color
final
blockId → int?
If the link type is MBInAppMessageButtonLinkType.section, the id of the MBurger block of the section
final
hashCode → int
The hash code for this object.
no setterinherited
The link of the button
final
linkType → MBInAppMessageButtonLinkType
The type of link of the button
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sectionId → int?
If the link type is MBInAppMessageButtonLinkType.section, the id of the MBurger section
final
title → String
The title of the button
final
titleColor → Color?
An optional color for the title
final

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