A detector based on the plastic scintillator film with large-area photonic crystals has been designed and demonstrated for measuring pulsed neutron flux. Compared with the reference detector, the neutron sensitivity and the gamma sensitivity of the detector using the scintillator film with photonic crystals were enhanced by more than 20%, which is attributed to the improved light extraction efficiency and the controllable angular profile of scintillation light by the photonic crystal. The application of the photonic crystals is beneficial to the improvement of the signal-to-noise ratio of the detector in the calibration experiment, thus expanding the lower limit of the measurable neutron flux without sacrificing the ratio of the neutron sensitivity to the gamma sensitivity. This research indicates that photonic crystals play an important role in the fields where scintillation photons need to be extracted and collected as many as possible.