Specialisation enhances the efficiency of plant–pollinator networks through the exchange of conspecific pollen transfer for floral resources. Floral resources form the currency of plant–pollinator interactions, but the understanding of how floral resources affect the structure of plant–pollinator networks remains modest. Previous theory predicts that optimally foraging animal species will specialise to improve resource acquisition under high resource availability. Although floral resource availability depends on both the plant production and animal consumption of the resources, previous work has assumed that production and availability are equivalent. This potentially may have led to erroneous inferences on the effect of resource availability on specialisation. We develop a mutualistic Lotka–Volterra consumer‐resource model to investigate the influence of floral resource availability on plant–pollinator network structure. The model incorporates animal adaptive foraging behaviour, floral resource dynamics, and density‐dependent dynamics. Specialisation, nestedness and modularity of simulated networks generated from the model under a wide range of parameters were explained using the generalised linear model. We found that the distinction between floral resource dynamics and plant density dynamics was necessary for partial specialisation of plant–pollinator networks. This is because floral resource dynamics constrained animal preference due to its depletion by animal species. Floral resource abundance had a positive effect on network specialisation, but animal density had a negative effect on network specialisation. Floral resource dynamics thus play key roles in the structure of plant–pollinator networks, distinctive from plant species density dynamics.