CardMessage class

Constructors

CardMessage({String? backgroundHexColor, Text? body, String? landscapeImageUrl, String? portraitImageUrl, Action? primaryAction, Button? primaryActionButton, Action? secondaryAction, Button? secondaryActionButton, Text? title})
CardMessage.fromJson(Map _json)

Properties

backgroundHexColor String?
Message background color.
getter/setter pair
body Text?
Message body.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
landscapeImageUrl String?
HTTPS url of the image to display in landscape orientation of the device.
getter/setter pair
portraitImageUrl String?
HTTPS url of the image to display in portrait orientation of the device.
getter/setter pair
primaryAction Action?
The action to take when clicking on the primary button.
getter/setter pair
primaryActionButton Button?
Message button.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
secondaryAction Action?
The action to take when the secondary action button is clicked.
getter/setter pair
secondaryActionButton Button?
Message button.
getter/setter pair
title Text?
Message title.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited