isCustomToolbarActionDisabled method

bool isCustomToolbarActionDisabled(
  1. LiPdfViewerToolbarAction action
)

Implementation

bool isCustomToolbarActionDisabled(LiPdfViewerToolbarAction action) {
  return action.disabledBuilder?.call(this) ?? action.disabled;
}