Called when retry is tapped. A retry action is only offered with a failure.
final VoidCallback? onRetry;