CancelAction class Null safety

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

Constructors

CancelAction({required Widget title, void onPressed(BuildContext context)?, TextStyle? textStyle})

Properties

hashCode int
The hash code for this object.
read-onlyinherited
onPressed → (void Function?(BuildContext context)?)
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.
read-onlyinherited
textStyle TextStyle?
The TextStyle to use for the title text. (optional)
final
title Widget
The primary content of the action sheet.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited