CNActionSheet class

Legacy CNActionSheet class for backward compatibility

This maintains the original API while delegating to BaseActionSheet for actual implementation.

Note: This still uses CNActionSheetAction for backward compatibility, but internally converts to BaseActionSheetAction.

Annotations

Constructors

CNActionSheet()

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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

Static Methods

show({required BuildContext context, String? title, String? message, required List<CNActionSheetAction> actions, CNActionSheetAction? cancelAction}) → Future<int?>
Shows a native iOS action sheet
showConfirmation({required BuildContext context, String? title, String? message, String confirmTitle = 'Delete', String cancelTitle = 'Cancel', VoidCallback? onConfirm}) → Future<bool>
Shows a simple confirmation action sheet with delete/cancel options