If you dream that someone you know is flirting with you, you sense that they are trying to get your attention in some way.
To dream of a stranger flirting with you, whether that attention is wanted or unwanted, means there is a repressed part of yourself that is dying to be heard and expressed.