timeout property

Duration? timeout
final

If onPressed hasn't completed within this, it's treated as an error (a TimeoutException is indistinguishable from any other thrown error here — both land in AsyncButtonStatus.error).

Implementation

final Duration? timeout;