action property

Future<bool> Function() action
final

Async action run when the button is pressed; true means success.

Implementation

final Future<bool> Function() action;