onPressed property
The callback that is called when the action item is tapped. onPressed is optional by default will dismiss the Action Sheet.
Implementation
final VoidCallback? onPressed;
The callback that is called when the action item is tapped. onPressed is optional by default will dismiss the Action Sheet.
final VoidCallback? onPressed;