Follow the steps to enable conditional logic for the shipping method.
Below is a demo for setting the conditional logic with shipping method. Here, the conditional logic is applied to Landmark field, where shipping method value is set as flat_rate:5(Which is the value for shipping method slow, where we get it by inspecting). Which means, the landmark field is shown if the shipping method Slow is selected. Otherwise it won’t show the field Landmark.
If you are not sure about how to apply conditional logic, please go through our guidelines to get started with conditional logic from here.