isOverlayEnabledForState method

bool isOverlayEnabledForState(
  1. SmartState state
)

Helper method to check if a state should be shown as overlay

Implementation

bool isOverlayEnabledForState(SmartState state) {
  return enabledStates.contains(state);
}