Did I overreact?

The other day me and my now ex got into an argument over me attempting to jokingly flirt with her (she took it as trying to force sexual conversation on to her) but during the argument she proceeded to say in a unjokingly manner “are you dumb” and then when I said that was disrespectful she said “idgaf” and then ended up calling me a snowflake so I decided to end it. And the next morning when I woke up I was blocked on everything. And I was fine up until today (we had planned for over a week spending the day together) and now I just wonder if I overreacted or if it was appropriate to end it?
Did I overreact?
Post Opinion