isLoading property

bool isLoading
final

this can be used to pass in the value is the button is loading then circular progress will be shown

Implementation

final bool isLoading;