onPressed property Null safety

VoidCallback? onPressed
final

The buttonItem used to generate the button when using CupertinoTextSelectionToolbarButton.buttonItem.

Implementation

final VoidCallback? onPressed;