onPressed property
AsyncCallback?
onPressed
A callback that runs the async task. This is wrapped in order to begin
the button's internal isLoading
before and after the operation
completes.
Implementation
AsyncCallback? get onPressed;