CPActionSheetTemplate class

A template object that displays a modal action sheet.

Constructors

CPActionSheetTemplate({String? title, String? message, required List<CPAlertAction> actions})
Creates CPActionSheetTemplate with a title, a message and a list of actions available on the action sheet.

Properties

actions List<CPAlertAction>
The list of actions as CPAlertAction available on the action sheet.
final
hashCode int
The hash code for this object.
no setterinherited
message String?
The descriptive message providing details about the reason for displaying the action sheet.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
title String?
The title of the action sheet.
final
uniqueId String
no setter

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