onPressed property

VoidCallback onPressed
final

The press callback. Can be null.

Implementation

final VoidCallback onPressed;