code: protected WidgetState.State getState() {
          final WidgetState.State state;
          if (mIsPressed) {
              state = WidgetState.State.PRESSED;
          } else if (mIsSelected) {
              state = WidgetState.State.SELECTED;
          } else if (mIsFocused) {
              state = WidgetState.State.FOCUSED;
          } else {
              state = WidgetState.State.NORMAL;
          }
          return state;
      }
docs: external consumption