ModalMessage class

Constructors

ModalMessage({Action? action, Button? actionButton, String? backgroundHexColor, Text? body, String? imageUrl, Text? title})
ModalMessage.fromJson(Map _json)

Properties

action Action?
The Action to take when clicking on the button.
getter/setter pair
actionButton Button?
Message button.
getter/setter pair
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
imageUrl String?
Image to display (https url - it will be downloaded onto the device) No prefix required.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
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