onPressed property

VoidCallback? onPressed
final

Defaults to popping the nearest route.

Implementation

final VoidCallback? onPressed;