onPressed property

Future<bool> Function() onPressed
final

Async callback; return true for success, false / throw for error.

Implementation

final Future<bool> Function() onPressed;