showProgress method
A method to show a loading indicator on the button. It is recommended to display loading progress if the action tied to the button may take a long time. By default, the button is disabled while the action is in progress. If the parameter leaveActive=true is passed, the button remains enabled.
Implementation
void showProgress(bool leaveActive) => _jsObject.showProgress(leaveActive);