CancelAction class

The cancel actions model that show under the BottomSheetAction (grouped separately on iOS).

Constructors

CancelAction({required String title, VoidCallback? onPressed, TextStyle? textStyle})

Properties

hashCode → int
The hash code for this object.
no setterinherited
onPressed → VoidCallback?
The callback that is called when the action item is tapped. onPressed is optional by default will dismiss the Action Sheet.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
textStyle → TextStyle?
The TextStyle to use for the title text. (optional)
final
title → String
The string that will appear in the title bar of the cancel action. (required)
final

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