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 void Function(BuildContext context)? onPressed;
The callback that is called when the action item is tapped. onPressed is optional by default will dismiss the Action Sheet.
final void Function(BuildContext context)? onPressed;