onTap property Null safety

VoidCallback? onTap
final

Implementation

final VoidCallback? onTap;