onTap property

void Function()? onTap
final

Override the default onTap behaviour. If this is null, it will default to Navigator.of(context).pop()

Implementation

final void Function()? onTap;