onPressed property

void Function(Function startLoading, Function stopLoading, IsSuccess isSuccess, ButtonSpinnerState btnState)? onPressed
final

receive startLoading , stopLoading, isSuccess m btnState

Implementation

final void Function(Function startLoading, Function stopLoading,
    IsSuccess isSuccess, ButtonSpinnerState btnState)? onPressed;