onPressed property

VoidCallback? onPressed
final

Optionally supply the button's 'onPressed' routine.

Implementation

final VoidCallback? onPressed;