onPressed property
The Future
function to be called when the button is pressed.
This future will be debounced.
Implementation
final Future<T> Function() onPressed;
The Future
function to be called when the button is pressed.
This future will be debounced.
final Future<T> Function() onPressed;