onSuccess property

void Function(T value)? onSuccess
final

The Function to be called when the onPressed future is completed with a value.

Implementation

final void Function(T value)? onSuccess;