CNActionSheetAction class
iOS-specific action sheet action (internal use only)
This class is used internally for iOS native implementation. External code should use BaseActionSheetAction instead.
Constructors
- CNActionSheetAction({required String title, CNActionSheetButtonStyle style = CNActionSheetButtonStyle.defaultStyle, VoidCallback? onPressed})
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- onPressed → VoidCallback?
-
Callback when the action is tapped
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- style → CNActionSheetButtonStyle
-
The style of the action
final
- title → String
-
The title of the action
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> - Converts the action to a map for platform channel communication.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited