onTap property

VoidCallback? onTap
final

Alternative to screen: a custom callback executed on tap.

Implementation

final VoidCallback? onTap;