onTap property

VoidCallback? onTap
final

Use on tap to navigate to any page or URL

Implementation

final VoidCallback? onTap;