The butterfly is sucking nectar of the flower. -- wrong
The butterfly is sucking the nectar of the flower. -- possible
The butterfly is sucking on the nectar. -- possible
The butterfly is sucking nectar in the flower. -- possible, but means that the butterfly itself is "in" the flower (i.e. somehow inside it).