onPressed property

Future<T> Function() onPressed
final

The Future function to be called when the button is pressed. This future will be debounced.

Implementation

final Future<T> Function() onPressed;