Is it better to befriend a girl and earn her trust before asking her out or better to tell her she’s pretty and you are into her?

Do girls prefer more direct intentions in the beginning or friendship that evolves into more over time? What do you think?
Is it better to befriend a girl and earn her trust before asking her out or better to tell her she’s pretty and you are into her?
Post Opinion